取消
显示结果 
搜索替代 
您的意思是: 

Serial number case selection

已解决!
转到解答

Hello All,

 

Any VI example to show how by using case selection on serial number?

0 项奖励
1 条消息(共 6 条)
3,219 次查看

@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.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 项奖励
2 条消息(共 6 条)
3,201 次查看

Hi modertor1983,

 

I had older LV version 8.5.1, how can i open LV2009? Any way to convert it?

0 项奖励
3 条消息(共 6 条)
3,152 次查看
解答
已被主题作者 stevenson_john80 接受

Find same VI saved in LabVIEW 8.0


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 项奖励
4 条消息(共 6 条)
3,149 次查看

@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.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 项奖励
5 条消息(共 6 条)
3,121 次查看

Hi guys,

 

Thanks you for your advise and example. 高兴表情

 

 

 

0 项奖励
6 条消息(共 6 条)
3,074 次查看