-
Posts
69 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by CRoebuck
-
-
- Popular Post
- Popular Post
Hi,
The TestStand presentation I gave at NI Week 2015 regarding use of TestStand with the DQMH (Delacor Queued Message Handler) can be found here. I will be uploading the accompanying videos for the presentation during the course of the next day or so.
What a shame that you can't move entirely to a TestStand based solution, it would be nice to implement a post step callback in the TestStand process model and then have the Step results captured without the developer of the client sequence having to have any knowledge of the storage mechanism.
However as pointed out above , you will need LabVIEW based tests too. The LabVIEW based DQMH plays nicely with TestStand so it would not be difficult to create such a DQMH module (cloneable) to act as a "worker" using the UUT Serial Number as it's unique identifier. You could then have a results list object within this module that is populated by public API methods such as "Add Result" This worker could then periodically store results to a Local DB, XML file or whatever intermediate storage you require. SQLite is pretty lightweight as mentioned above.
I'm not sure how you manage the replication of Local DB data to a central DB ? Do you use replication services ? One thing this "Results worker" could do is store the data in XML and then you could easily set up a SQL DTS job to bulk import complete results sets.
I've spent a long time in test data management, there are many many ways to skin this particular cat !
EDIT: I forgot to say. The shipping examples that come with the DQMH Toolkit are duplicated in both LabVIEW AND TestStand. A video walkthrough of the TestStand examples can be found here
-
3
-
- Popular Post
- Popular Post
For the 2015 LAVA BBQ, Delacor have teamed up with author, friend of Delacor and all round outstanding guy; Steve Watts at SSDC to offer a truly unique door prize.
Steve has kindly signed a copy of his book "A Software Engineering Approach to LabVIEW" but not only that. Steve has included the draft / amended pages that would have gone into any potential future second edition of his book. These are the only copies of these pages anywhere in the world and you as a LAVA member can have a chance to win them (and the signed book itself)
-
3
-
Using the ActiveX API can yield some odd behaviour if you then "manually" interact with Excel, launching another instance for example.
If you have long running tests then I suggest that streaming to Excel is not ideal. Might be better to write to a database or TDMS file and then arrange for the data to be exported in an appropriate manner. Remember there are size limitations to the number of rows you can have depending on your Excel version, again worth consideration.
All that being said, if I can help with the Excel API then just ask
Chris
-
Jeremy,
It was great to see you again and a pleasure to meet your wife. She's probably pre-registered for next year already. She looked like she was having an awesome time.
We'd love to have you over for the European CLA summit next year !! You guys should visit Europe.
Failing that, see you at NI Week 2015 :-)
Chris
-
2
-
-
Thank you Mark. As always the LabVIEW community who could not attend any (or all) of the sessions are in debt to you for your efforts. Many thanks.
PS. Great to see you !
-
I believe that LabVIEW checks for the presence of a configured license server before querying for locally installed licenses, perhaps this is the cause of the registry queries ?
-
Hi Vivu,
I've had similar issues in the past and whilst I do not have a concrete solution for you I do have some suggestions that have worked for me.
- is it manadatory to keep the dl's and their dependencies in the same folder, in which VI's use them, for sucessful build through deployment ? if yes, by default, these would go to "installation directorydata", which is different from "installation directory...VI directory , and would not work still?
>>I would say that the dll's should be placed in a location that will be a duplicate of their location when deployed. So in development you might call them form C:UsersApp Dataxxxxxx and then deploy to that location also, this will maintain the linkage and prevent the VIs from being broken, the test stand deployment utility is placing the assemblies in a different location because there's no guarantee that vi/.lib will exist on the target machine (if just using labVIEW RTE for example)
- it is mandatory to add the VI's that use .net assemblies to labview project, for sucessful deployment? if yes, how do we add a labview project to testsand workspace?
In each step call when the step is being performed by a VI there is the option to specify not only a VI path but also the project in which the VI resides.
Chris
- is it manadatory to keep the dl's and their dependencies in the same folder, in which VI's use them, for sucessful build through deployment ? if yes, by default, these would go to "installation directorydata", which is different from "installation directory...VI directory , and would not work still?
-
Just to chip in here, I recently had the same problem (2013 SP1). Bundling in a "variable" wire did not cause the class output "cluster" to be updated. Bundling in a constant (in this instance it was a string) did cause the "cluster" to be updated correctly.
Probably entirely related, editing some code in this class would cause the IDE to hard-crash, so I figure I just managed to get my code in a state that was not consistent.
I fixed my problem by deleting the VI that caused the crash and re-creating it from scratch. I think the inconsistency happened when I renamed a class VI to something that had previously existed in that class.
Eeesh Neil,
Did you ever get to the bottom of this or just re-create and move on. I've got the same issue here this morning (least I think it's the same). Constant bundled in updates the cluster, wiring in a "variable" does not. Probed the wire, input data is valid.
Re built the VI and moved on. I had seen crashes too when making changes to the class so perhaps like you we've managed to upset LabVIEW.
I'm moving on the next issue but this is leaving me with a prickly sensation on the back of my neck, all is not well somewhere.
-
I have checked the string in the windows explorer the path works ok. C:UsersconorDesktopLabview DemosDatabase GeneratorImagesFilm3 that is the current path but when its read from the database it puts in those extra symbols.The string is stored as a varchar(max) in the database to hold the paths to the images.
If you change the data type of this field in the database to nvarchar(max) do you still get the same issue ?
If you set a field to be varchar(x) then the string stored there will be x in length even if the string originally stored was shorter. When you query the database you will get back a string of length x. Using nvarchar will store a variable length string up to length x.
-
Hi,
I have done several things over the past 10 years at various organisations where I have worked.
1. I've created my own SQL based storage framework (codeless storage using a custom process model)
2. I've purchased commercial test data management and analysis tools
3. I've used the default storage schema s
All have their own relative merits and drawbacks. PM me if you want any specific information about the tools I've used.
Chris
-
PSY may have just been de-throned !!!
-
1
-
-
Awesome summit, thanks to all of you who were able to be there and contribute to this awesome event.
All of the slides from the community day with the exceptions of Jim Kiring's (they're coming soon) are now posted on the CLA Community page at https://decibel.ni.com/content/groups/certified-labview-architects?view=documents
Looking forward to NI Week, hope to see many of you there !
Chris
CLA Chairperson emeritus
-
1
-
-
Jeremy,
What's your current SCC tool ? Are there specific issues that are forcing you to look to replacing it ?
I have used a combination of VSS and Subversion over the past 4 years however Jack Dunaway convinced me to take a look at GitHub during the CLA Summit in Austin and so far my experience has been all positive.
I was looking for a hosted solution with a nice interface.
-
Actually, Mr. SmartyPants, they're Taiwanese. Which, in some circles, is considered Chinese Taipei. So, although not quite correct, I was (geographically) closer. BAM! You just got owned! Yeah, that's how I roll. Tru dat, boy howdy. Word.
Check you
-
Can't speak - too awesome! Wait, is that Kim Jong Un?
This is totally my favorite Chinese group at the moment - I picked up a CD when I was in Donguan a few months ago. FWIW: My 2 year old son loves them too
Aren't they Korean ? They are my favourite Korean group right now !
-
Loving the "horse dance" as my boy calls it. I'm out on the town on saturday, is it enough time to perfect the moves ?
Reminds me of the time I first watched the following dance
(The guys expression at 0:40 is priceless)
The funny thing is that its a remarkably accurate recreation of most clubs in Cardiff (Wales) !
-
Hang on a second. The University of Southampton is just 12 miles from my house, I hope this doesn't end up like Fracking.
Maybe it's time to move..........
-
That's great Mark, thank you for taking the time to do this.
-
Hi
So thanks to a very very kind "insider" I am in a position to offer a very rare door prize to a lucky LAVA BBQ attendee: a LabVIEW iPhone hard plastic cover. This is for a 3G / 3GS model.
Cheers
Chris Roebuck
CLA , CTA and all round nice guy
-
2
-
-
I just bought mine ! !
Can't wait
-
A little rule I always apply in situations like this is to remember that "people always criticise things they don't fully underatand"
I've spent 14 years programming in labVIEW , it was my first language , it is my go-to language (ecuse the pun) and it makes me more productive. I'm happy
EDIT: Just read Dave's response, it makes me optimisic to know that guys like Dave and AQ are driving the direction of this product. Great reponse.
-
1
-
-
Really good job. I have read several whitepapers written by you in the past and like your style. I'm off to dig aorund the example code so may be back with questions as I'm a hopeless in the kitchen.
-
Actually count me and my fellow brit Mr Steve Watts in.....
-
Count me in !
Power Supply Class
in Object-Oriented Programming
Posted
Hi there,
This may be a little late but I wrote a blog post regarding the use of a HAL (Hardware Abstraction Layer) inside a QMH. OK, it's our own flavour of QMH which we call the DQMH but the post content is still valid for your use case. In addition the example I use is based around a Power Supply;
Here's the link
http://www.walkingthewires.com/2015/10/21/hal-in-your-dqmh-2/
Hope it's useful
Chris