Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

I m not getting continuous readings from my device

Solved!
Go to solution

Sir,

 

I've denoted array as red and broken wires are also showed in VISA CLOSE.

 

tel me the path of an array which you have used in your code.And also why the broken wires for VISA CLOSE. 

 

 

Disable Indexing I will try to do it.

 

Yes Sir, You are right My begining was with 'Getting Started with LabView' that is not sufficient to learn LabView.I tried to get the book about Labview But here not possible to get.

 

0 Kudos
Message 11 of 17
(1,709 Views)

Sir,

 

I've denoted array as red and broken wires are also showed in VISA CLOSE.

 

tel me the path of an array which you have used in your code.And also why the broken wires for VISA CLOSE. 

 

 

Disable Indexing I will try to do it.

 

Yes Sir, You are right My begining was with 'Getting Started with LabView' that is not sufficient to learn LabView.I tried to get the book about Labview But here not possible to get.

 

0 Kudos
Message 12 of 17
(1,709 Views)

The build array gets broken because it's a array of DBL and the result from the VISA Read is a string. Either make the array a string type or convert the string from the VISA Read into a DBL with the Fract/Exp String to Number function.

 

The broken wires to the VISA Close will be fixed when you disable autoindexing, as I already mentioned.

 

You also still have the silliness of reading the com port settings instead of setting them.

Message Edited by Dennis Knutson on 03-19-2009 08:22 PM
0 Kudos
Message 13 of 17
(1,699 Views)

Sir,

 

I tried all things which you told.

 

But still i m not getting continuous readings,

 

May be problem with array what to do now sir ?

 

Really I m wasting my time for simple thing.

0 Kudos
Message 14 of 17
(1,672 Views)

Sir,

 

I m not able to get continuous readings.from device.

 

I don't know where is mistake.

 

I've attached my code with this mail. Please try to simplify it and attach with reply so that I can directly use or I will create according to your

 

code.

 

Sir is there any way to create VI other than my VI.

 

If possible then send it to me I will try with my device.

 

My requirement is to get only continuous readings from my device.For that I've tried to create VI  but it is going wrong.So if you have any

 

solution for this then guide me sir.

 

Please try to solve my problem

0 Kudos
Message 15 of 17
(1,664 Views)

Of course it does not work. Your Build Array looks nothing like the image here because you did not do what I told you to do here. The correct code is below if you want an array of DBLs. You can move the array indicator to inside the loop if you want to see data as it is acquired. Also notice how you should change the VISA Property to node to write the comm settings. I've mentioned this twice and you still haven't changed this either.

 

 

 

If you want to be able to get actual code from someone on this forum, you will have to stop using a version of LabVIEW from the last century.

Message Edited by Dennis Knutson on 03-22-2009 07:28 AM
0 Kudos
Message 16 of 17
(1,659 Views)

Ok Sir,

 

I will try your code now.

 

About labile 8.6 version I will discuss with my guide. Problem is he is telling me to try first using the lower version which we have now(5.1 version).

 

Sir tell me onething if I used evaluation version of Labview (which is available on Net for one month duration) then any possibility to check CODE sent by others in this forum.

 

My work is to get continuous data either it may be from 5.1 or 8.6.

 

But we are having 5.1 version.

 

If I got continuous readings then my job is over, I've to try for 'Keithley Meter's which we are using for measurement purpose in our lab. 

 

0 Kudos
Message 17 of 17
(1,636 Views)