LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

New Thread for Conversion of LabVIEW 5.1 code to 8.5

Hi Ayse,

 

For most errors, you can search for related KnowledgeBase articles in the search bar at the top.  But since you are upgrading VIs, have you tried running Serial examples to make sure you can communicate to your device?  Does rewriting a small portion of the code work in 8.6?

0 Kudos
Message 71 of 88
(2,293 Views)
Since you say that it was originally written in a very old version, it may have used the obsolete serial functions. The conversion to VISA in 8.6 was automatic but it's possible there was something in the old program that broke the conversion. If you have old functions like 'Serial Port Write', etc. you might want to remove them completely and directly use the VISA functions.
0 Kudos
Message 72 of 88
(2,290 Views)

Him

Thanks for your respons,

I ave tried Serial examples and manged to communicate to my device but I could not yet manage to run the upgrated vi because of VISA errors

I also tried to replace old serial functions by VISA functions as suggested Dennis but I have still same errors

I send both serial control vi in labviez 8.6 and 6.1

Could you pleqse test and let me knoz why the 8.6 gives errors

Thanks in advance

Ayse

Download All
0 Kudos
Message 73 of 88
(2,277 Views)
I obviously cannot do a complete test because I do not have the instrument but with the SimpleSerial  Port Control code that you posted, I can get past the VISA Initialize Serial Port and do the first VISA Read with no problems. I don't understand why you can't. The serial examples use the same init function and you've said that they work.
0 Kudos
Message 74 of 88
(2,259 Views)
CONVERTIRME ESOS VIS DE LABVIEW 5.1A LABVIEW 8.6
0 Kudos
Message 75 of 88
(2,241 Views)

reina2005 wrote:
CONVERTIRME ESOS VIS DE LABVIEW 5.1A LABVIEW 8.6

 

Duplicate post already converted here.

 

0 Kudos
Message 76 of 88
(2,232 Views)

Hello, me again MrDoc

So I'm in process of rewriting my code to Daqmx version.

Question - I old version has aquire and average.vi used several times.

This is part of the zdaqutil.llb.  Is this llb part of the legacy daq?

Can I just use the aquire and average as it is used in the old vi, or will this not work?

0 Kudos
Message 77 of 88
(2,198 Views)
Already answered.
0 Kudos
Message 78 of 88
(2,194 Views)

Sorry Dennis, I don't understand your reply.

 

Your saying zdaqutil.llb is part of the legacy daq and I can't just use aquire and average as is?

Is there an equivalent vi to aquire and average to use in daqmx?

 

 

0 Kudos
Message 79 of 88
(2,189 Views)

Everything in the folder is part of traditional DAQ. As has been mentioned before, you cannot use any traditional DAQ function with an M series card.

 

With DAQmx, you would do a DAQmx Read and then you could use the Mean function. There is also the Ecpress VI - Probablility and Statistics.

0 Kudos
Message 80 of 88
(2,181 Views)