10-26-2009 07:01 PM - edited 10-26-2009 07:05 PM
Hi all,
I encountered problems understanding someone's program. Could any of you help me out?
Those programs are written in Labview 6.x and integrated into one software, which can detect the DAQ card (PCI 6052E) , a series of input modules (SCXI 1520) and then collect data from the input modules simutanously.
Questions:
1. How can we make a drop-down list showing all the modules detected and then customer can select between them? Seems like the former programmer realize this with Property Node...
2. Now we have one new input module(SCXI 1530). However the software said it can only suppor SCXI 1531 and can not detect SCXI 1530, although MAX can do. The diffirence between SCXI 1530(4 channels) and SCXI 1531(8 channels) is the number of channels. Is it possible for us to modify the software and make it compatible with SCXI 1530?
Any ideas are appericiated.
Thanks,
Solved! Go to Solution.
10-27-2009 10:18 AM
Hi Oly,
What version of LabVIEW and DAQmx are you using? If you just create a control, the control automatically placed on the front panel will be a dropdown list. You should take a look at the DAQmx example programs in the Example Finder. You can find the Example Finder at Help >> Find Examples within LabVIEW. Once this opens, select the Search tab then type 1530 into the seach field. The Cont Acq Accel Samples-Int Clk-Analog Start-SCXI 153x.vi should be a good example of how to set up the 1530.
10-27-2009 10:40 AM
hi jschwartz,
Thanks for your idea...I am checking this out. I am using Labview 6.1 and Traditional DAQ for some reason...
One more question, how can I find which modules were installed in my chassis and show it in my program? Thank you.
10-27-2009 10:42 AM
10-27-2009 10:47 AM
10-27-2009 11:06 AM
Hi,
I am using Traditiona DAQ 7.1. MAX can detect SCXI 1530..However, the old program I am working on can not..I am not sure if this program will work with SCXI 1531....However it's working fine with 1520...
In the old program's manual, it did say that it can ONLY support SCXI 1531..and NOT sopport SCXI 1530...I am trying to work on this program and make it support 1530...Any ideas?
I checked the datasheet for 1530/1531, I did not see much difference besides the number of channels...I am wondering why this program can only support 1531...:(
10-27-2009 02:41 PM
Hi,
I figured out something...I used "Get SCXI information" to return the module types. Everything seems fine. I got something like this,
Slot number Module type
0 31
1 51
2 50
Based the manual I got, the modules are SCXI 1102B(31), SCXI 1520(51)...What does this 50 stand for? SCXI 1530?
Thanks.
10-27-2009 07:48 PM
Hi oly,
You're right, the help for Get SCXI Information.vi is missing the module types for the SCXI-1530/1531. The corresponding C function (SCXI_Get_Module_Info) in Start Menu >> All Programs >> National Instruments >> NI-DAQ >> Traditional NI-DAQ Function Reference Help contains 48: SCXI-1531; 50: SCXI-1530.
Brad