LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

New Thread for Conversion of LabVIEW 5.1 code to 8.5

Hi MrDoc,

 

What's the DAQ card you are using and what's your Traditional DAQ driver version? 

0 Kudos
Message 61 of 88
(2,258 Views)

I have a 6251 bd installed in the PC and the Traditional Daq is rev 7.4.

After checking more I find that the error happens in a Call Library function node inside the AI contol vi.

I don't know much about this function. 

This is the the path listed for the call function - C:\Program Files\National Instruments\LabVIEW 8.5\vi.lib\Daq\lvdaq.*.

On the left is a zero constant and the error happens on the right output side.

Not sure why there is an error.

 

0 Kudos
Message 62 of 88
(2,242 Views)

That card can only be used with the DAQmx driver. All of this effort to convert from an old version of LabVIEW has been kind of a waste of time. You'll have to rewrite all of the DAQ code in order to use this card.

Message 63 of 88
(2,237 Views)

Hi MrDoc,

 

Dennis is correct, the 6251 is only supported in DAQmx.  Our E-Series do have support for Traditional DAQ, for a listing, you can check here:

 

DAQ Driver Support ( http://zone.ni.com/devzone/cda/tut/p/id/6910 )

 

This will let you see the most up-to-date version of DAQmx or Traditional DAQ is supported for the card.

0 Kudos
Message 64 of 88
(2,214 Views)

OK, another question. 

Inside the zdaqutil.llb are some vi's that are used in the vi's I have to rewrite. To save time can I rewrite the vi's from the llb or are there ones from the daqmx to use for this?

I have rewritten the Acquire and average.vi used in one part, but with I get back to the main vi it very meassed up missing inputs from the old vi.

Buy rewriting do you mean rewriting from the beginning?

 

 

0 Kudos
Message 65 of 88
(2,184 Views)
In addition to my previous post - Is the zdaqutil.vi from NI?  This part of the Labview program files right?
0 Kudos
Message 66 of 88
(2,183 Views)
Do not touch in any way the VIs in Zdaqutil.llb or any other llbs in the traditional DAQ driver. You need to totally replace the tradtional DAQ functions with functions from DAQmx. It is not a one to one replacement. You will need to understand the overall functions in the old porgram and reproduce them in DAQmx. Refer to the Getting Started with DAQmx and Transition From Traditional NI-DAQ to DAQmx.
Message 67 of 88
(2,178 Views)

I have a basic knowledge of Labview and must upgrade vi's running in 6.1 labview to 8.6. I could import them in 8.6 but I could not manage to make it run because of error visa errors.

  Could you hepl me.Thanks in advance,

 Ayse

 

0 Kudos
Message 68 of 88
(2,167 Views)

We're getting farther and farther from the purpose of the orignal question.

 

Since you can open 6.x files perfectly fine with 8.6, this question really should be in a new thread. If you get an error and need help in eliminating the error, you need to provide what the error is. Do you expect us to guess? At the very least, you need to provide the error code.

0 Kudos
Message 69 of 88
(2,166 Views)

Sorry

Here are errors list:

Error -1073807302 occurred at Initialize Serial Port

Possible reason(s):

VISA:  (Hex 0xBFFF003A) Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state).

Error -1073807360 occurred at Initialize Serial Port
Possible reason(s):

VISA:  (Hex 0xBFFF0000) Unknown system error (miscellaneous error).

Error -1073807339 occurred at FLUSHING Serial Port

Possible reason(s):

VISA:  (Hex 0xBFFF0015) Timeout expired before operation completed.

These vi's run well in labview 6.1 but they were probably desgined in older version (4 or 5) and imported in 6.1and now I would like to use them in 8.6.

Thanks in advance

Ayse

 

0 Kudos
Message 70 of 88
(2,156 Views)