Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

digital output for lighting control

I am using a minilab 1008 to output a value of 5V to a number of LED's when a user switches whilsts on the front panel. i have the basic VI which i have put togeather but am unsure of how to make the switch trigger the voltage output and was hoping someone could take a look. i am also unsure of the what the output would need to be set to for the "write VI". any help would be much apprieciated.
Cheers
Matt
0 Kudos
Message 1 of 3
(3,421 Views)
here's the attached VI
 
0 Kudos
Message 2 of 3
(3,421 Views)
 
 

Hi,

  the minilab 1008 is not a National Instruments product, so I seriously doubt that the daqmx vi's would work with this.

You need the Universal Library for LabVIEW from Measurement Computing : (details and links to the Measurement Computing website are below on the Adept Scientific website)

http://www.adeptscience.co.uk/kb/article.php?noteid=BE2A

If you like the daqmx approach though, you could try a USB-6008 (https://www.ni.com/en-us/support/model.usb-6008.html) For more information and options, please call into the UK office on 01635 572410 and ask to be put through to sales.

Architecture wise, you could just wire the switch to the data input on the daqmx vi (and then the true / false will be written every iteration of the loop) or you could use events to capture for a value change on the switch and only write when the switch changes, but with the minilab driver API I don't know how that works - please contact Measurement Computing for that.

Thanks

Sacha Emery
National Instruments (UK)

 

Message Edited by SachaE on 03-14-2007 03:26 PM

// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 3 of 3
(3,413 Views)