07-08-2013 02:55 AM
Hello All,
Any VI example to show how by using case selection on serial number?
Solved! Go to Solution.
07-08-2013 04:17 AM
@stevenson_john80 wrote:
Hello All,
Any VI example to show how by using case selection on serial number?
Which serial number are you talking about. Is it serial number of LabVIEW which is installed in your machine or serial number of some kind of product??
In most of the cases the serial number will be a 'String' data type and by simply connecting it to the 'Case Selector' terminal, the Case Structure can be controlled.
Please the attached example VI.
07-10-2013 09:04 PM
Hi modertor1983,
I had older LV version 8.5.1, how can i open LV2009? Any way to convert it?
07-10-2013 09:10 PM
Find same VI saved in LabVIEW 8.0
07-11-2013 09:57 AM - edited 07-11-2013 09:58 AM
@stevenson_john80 wrote:
Hello All,
Any VI example to show how by using case selection on serial number?
Using a case structure to take actions based on a serial number is a difficult way to go. Every time you add a new serial number, you'd need to update your VI. If you used a typedef'd enum to contain your serial numbers, it will make it easier to edit the VI. But you still have to edit the VI. If there are some kind of distinguishing features of the serial numbers, you might be able to make it a little easier. For example, if you could extract the number part of a serial number, you could base your choices on a range of serial numbers instead. If all you want to do is recall data for a serial number, simply name the folder with the data to something that includes your seriall number (e.g., ABC_1234 Data Folder) then build your path using the serial number + " Data Folder". If you added a timestamp to the name of the folder as it was being generated, you could even separate the different runs.
07-22-2013 12:55 AM
Hi guys,
Thanks you for your advise and example.