LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Blink DAQmx LED for Identification

Solved!
Go to solution

I don't think this is possible, but I thought I would ask.

 

A number of DAQmx devices have LEDs on them, for example a "READY" LED and an "ACTIVE" LED.

 

Is there any way to control these LEDs, that is, I would like to make them blink.

 

Why do I want to di this? Assume I have multiple devices attached to my computer that are the same model, I would like to make the LED blink so the user can identify which device they are connecting to. Does that make sense?

 

cheers,

mcduff

0 Kudos
Message 1 of 15
(7,008 Views)

Its device specific.  What is the device?  A terminal constant should help


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 15
(6,998 Views)

I am not sure what you mean.

 

Some background:

  1. I made a general purpose program for any DAQmx device, it works in the following way.
    1. The user selects a device from a list of devices attached to the computer.
    2. The parameters of the device are dynamically found and loaded into the program.
  2. Sometimes mutliple units of the same device are attached. Here it would be nice to blink the LED so you know which device you are selecting.

Most of the devices used are USB based, either stand-alone systems or modules inserted into a cDAQ chassis.

 

Thanks

mcduff

0 Kudos
Message 3 of 15
(6,984 Views)

Sorry mcduff I must have been unclear.  Yes, I believe it is possible to blink the LEDs of some devices.  What is the model of a device that you wish to try to find a LED blink method for?  Not all models may have this ability so the method is device specific.

 

I know I've done it once a long time ago and cannot find the source project (may not have copied it to a thumb drive on hand)  and the grey matter is leaking the danged details (maybe some coffee will help)  I'll try that while you post back


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 15
(6,977 Views)

Main devices presently used:

  1. USB-4431
  2. cDAQ-9171 with various modules
  3. USB-6366

Thanks

mcduff

0 Kudos
Message 5 of 15
(6,973 Views)
Solution
Accepted by mcduff

That's almost too easy

 

I believe each of those blink the LEDs with a Reset Device

 

I thought we were looking at cRIO stuff (a bit harder since I only have 2017 up right now and haven't installed the 2017 RT module)


"Should be" isn't "Is" -Jay
Message 6 of 15
(6,965 Views)

Actually I already had a reset device option as a right menu click!

 

Just checked it, and indeed it does blink, albeit only once on the cDAQ-9171. But it does the job.

 

Thanks

mcduff

 

 

0 Kudos
Message 7 of 15
(6,959 Views)

There you go! another example of perfectly functioning software that does everything needed Complained about by the darned USER that can't figure out how to operate it!


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 15
(6,955 Views)

HI Jeff,

 

I noticed your signature has a picture in it, but it comes up with the broken image icon.

 

 

 

0 Kudos
Message 9 of 15
(6,924 Views)

@Jeff,

 

One last question since you are the DAQmx guru.

 

It is relatively simple to put the reset device in a for loop for three iterations, that way it blinks more than once. Is there anything deterimental to having multiple resets? Will the instrument freeze up, etc?

 

Thanks

 

Cheers,

mcduff

0 Kudos
Message 10 of 15
(6,912 Views)