11-21-2006 08:29 AM
HI,
Using DAQmx (or MAX), Within LabVIEW I need to know programmatically which (SCXI) tmodule type is connected to a given chassis’s slot, i.e. if there's a module connected to slot 1, if it's a SCXI-1102 or a SCXI-1104 module.
Thank you!
best regards,
-- roberto j.
11-21-2006 08:46 AM
Sorry!! I posted on the wrong forum. It was meant to LabVIEW's forum. If any moderator could move this message to LabVIEW's forum, I'll be glade.
Thanks.
12-04-2006 09:03 AM
OK,
I made a provisory (?) solution to programmatically check whether a SCXI
chassis's power is turned on or not, using DAQmx. The attached subvi also retrieves the
module name/type. This subvi is based on:
http://zone.ni.com/devzone/cda/epd/p/id/3161
Attached are (made with LabVIEW 7.1):
test_SCXI_power.vi (the subvi itself)
test_power.vi (an example of how to call test_SCXI_power.vi).
I used an error handler as an example of how to handle a power off event.
Any suggestion, feel free to reply.
Regards,
-- roberto Janny.
12-04-2006 12:33 PM
12-04-2006 01:43 PM
Logan K, thank you four you suggestion!
Very elegant (clean) indeed. It wasn't my intention to deal
with a power failure event in the middle of an data acquisition task, just to
check if the chassis is turned on before starting the task itself.
Taking your advice, I've updated my version to use just
"DAQmx Reset Device".
note: I'm using a ring control called
"DAQmxDeviceSelect", to store a list of all my MAX devices, instead
of using a DAQmx device (I/O) control (i.e., get MAX's current list of DAQmx
devices).
Best regards,
-- roberto janny.