LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IS IT POSSIBLE TO RUN TWO DAQ CARDS?

 Hi all I am a newbie to Labview.  Is it possible to run two pci 6031e cards from one running  labview program ? I am out of i/o on the 6031e card  in my current program and need more measurement points.  So I simply want to run another 6031e from the same p.c. from the running program.  Thanks John
0 Kudos
Message 1 of 14
(4,040 Views)
You can run as many as you want and have slots for in the pc. I've got a tester right now that's got 16 cPCI cards.
Message 2 of 14
(4,037 Views)

Absolutely possible.  It you need them to be synchronized then you would set them up and send them a trigger.  Even easier if you don't need to have then synchronized.

 

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
Message 3 of 14
(4,031 Views)
 Thanks guys for teh prompt help......JFK
0 Kudos
Message 4 of 14
(4,025 Views)
 Thanks Dennis for the reply..I am just curious how big is your program that is running those 16 cards....my program is 89251 kb in size and is hitting a resource type wall - possible labview snag when running only two 6031e cards .  Thanks J.
0 Kudos
Message 5 of 14
(3,981 Views)
That's kind of a difficult question to answer. My LabVIEW code consists of several DLLs called by TestStand. The disk size of all of the files is about 6MB. Everything is re-entrant because I'm using all boards (they are not DAQ boards) simultaneously. The memory usage as reported by the windows task manager is about 50MB. Is the 89MB the file size or the memory usage of your code?
0 Kudos
Message 6 of 14
(3,974 Views)
Its the actual labview file size....JFK 
0 Kudos
Message 7 of 14
(3,971 Views)
That seems enormous. I have never had a LabVIEW program that large. Do you have some graphics or large arrays as constants? What about front panel controls and indicators? Did you do a Save Current Values as Defaults so that the front panel contains a lot of data?
0 Kudos
Message 8 of 14
(3,968 Views)
 Yes I did do a save current values as defaults on the front panel ...I have a bunch of led indicators (approx 80)  on my front panel for pass fail conditions that I reinitialize all to red (fail) condition upon the test restarting / wiping the visual test results clean so to speak ......why-- is this a problem ? How can I correct that ?  Thanks J.
0 Kudos
Message 9 of 14
(3,955 Views)

80 (or even 800) LED's wouldn't be the culprit.  And it's pretty difficult to cram even 1 MB of code on a diagram, at least I'm pretty sure I've never managed to.

Let's see...  There are 2 ways to save current values as default.  One is from the main menu bar, in which case ALL controls AND indicators will have their current contents saved as default.  I would guess that you've got some arrays / graphs / charts / etc. on the front panel as well, and that they had many 10's of MB in them when you saved current values as default.  You should empty them, and then redo that "save current as default" stuff.

The other way to save as default is to right-click on the specific control / indicator you'd like to affect.  The menu selection you need is called something like "Data Operations...-->Save Current Value as Default"  This method will only affect the item you right-clicked.

-Kevin P.

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 10 of 14
(3,949 Views)