ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB device address

Solved!
Go to solution

Hello Michael,

 

Thanks very much for your reply.

What I am doing now is to tag the data from each sensor with sensor serial number......and write in a data file so that I am able to know from which part of my instrument those values are. though it is a bit wired solution.......but for now it is grant. I will take up your suggestion and will try to find out some solution with Rotronic company.

 

Thanks

 

Aidy

0 Kudos
Message 21 of 24
(1,845 Views)

Aidy,

That is what you will need to do! you need a routine to sort through the devices by serial number and look-up from a configuration source (try a ring control with the ser# as the numeric;).  You will also need an event structure to pause the main test on initialize (find the reources the first time) and when the system hardware configuration changes (because a device was removed or inserted)

 

You could use the VISA find resource primative to get an array of devices and query them for Ser# to detect changes. Hint:  If you store them in a FN Global you can automatically compare and process code on changes

 

This method can get messy but, its one way to beat Plug and Pray.


"Should be" isn't "Is" -Jay
0 Kudos
Message 22 of 24
(1,834 Views)

hello Aidy,

 

 

Thank you for the file Zip, I'm working also with rotronic instrument. The VI in your Zip works well.

 

I want to know do you have a file help about explication of dll.

 

Thanks.

 

Lily

0 Kudos
Message 23 of 24
(1,590 Views)

Hello Lily,

 

Unfortunately I don't. The only thing I got from the Rotronic company was the VI that is attached in post earlier.

But if you have other Q's related to Hygroclip, I am happy to answer if I know.

 

Aidy

0 Kudos
Message 24 of 24
(1,582 Views)