LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

case structure (logic)for device selection among 3 devices

I want to use 3 diff DAQ devices with Labview tool.

 

I tried to build a logic in choosing the device, like:

 

A device( with 16 AI channels).........set this device default

 

B device( with8 or 16 AI channels)

 

C device( with 8 or 16 AI channels)

 

when i run the VI, it should take A device with 16 AI channels by default.

 

If B device is asked, then it should give options for 8 or 16 AI Channels

 

And similarly when C device is connected, it should give both optins for 8 or 16 Channels....

 

Attachment contains device choosing option,,which is working...now i have to improve it with channel options...

 

Any suggestions.....if it's not clear, then i can give more details if needed.

 

Thanks

 

Regards

Kirit

 

 

0 Kudos
Message 1 of 4
(2,776 Views)

Hi,

 

     I am not sure what is the problem your facing?

-If you want to provide a channel selction when particular device is selected, use case structure and inside give provision for the user to select the channels using check box .

-Or you dont want user to give this option & to be taken care programmatically.

Let me know in brief

0 Kudos
Message 2 of 4
(2,765 Views)

Thanks Geeta! for the response

 

Intension was to pick devices automatically......that's fine and done now.

 

I have query like, how to create virtual AI channels  with third party DAQ device.

 

Like i told you before, my goal is to make the third party USB DAQ device compatible with Labview tools, This USB system came with Labview drivers so it can be made compatible.

 

when i run the VI, i get error 200099

 

and rest of the VI's work fine & give output.

 

This request i have already posted, may be you can get that at this link:

http://forums.ni.com/ni/board/message?board.id=250&message.id=45467&query.id=67810#M45467

 

Does this query or explanation makes sense?

 

Thanks for the help

 

Kirit

0 Kudos
Message 3 of 4
(2,708 Views)

Kirit wrote:

... how to create virtual AI channels  with third party DAQ device.

 

... my goal is to make the third party USB DAQ device compatible with Labview tools, This USB system came with Labview drivers so it can be made compatible.

...


Kirit,

 

"Virtual AI Channels" are handy for development but as far as NI is concerned (Note: I am not an NI employee so take my words with a grain of salt) they are built-in sales demo's for their hardware. Asking or expecting NI to allow their software to showcase the compititions hardware is a stretch. Just because the USB system came with LabVIEW drivers does not indicate that it is in anyway supported by NI-DAQ. I have even seen "LabVIEW compatable drivers" that actually ripped-out the guts of NI-DAQ and replaced it with its own dll's! To accomplish what you are after, I suggest you contact your local NI rep and talk to them about what you are attempting. If you can make a good case for what you are attempting, they should be able to hook you up with the proper resources.

 

Just trying to help,

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 4
(2,698 Views)