LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ELV M232 Problems

Hello newsgroup!

I´m a newbee reagrding labview, and want to get data from an ELV M232
A/D-Converter.

In the handbook of the converter the commands are listed...

Every command beginns with [SOH], and ends with [CR]. I´ve tried to use
LabView 7´s Instrumental I/O-Assistent, but i get an error with the visa
status code bfff0015.

Has anyone ever written a VI for this converter, or any other ideas to help
me out?

Many thanks,
christoph
0 Kudos
Message 1 of 5
(4,123 Views)
Hello Christoph,

Thank you for contacting National Instruments.

You might try the following link:

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000A9BC0000&ECategory=LabVIEW.LabVIEW+General

This is another discussion thread concerning an error similar to yours.

Let me know if this does not help.

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(4,123 Views)
Hello!

Thanks for your response!

I´ve already read this thread, but the termination character doesnt seem to
be the problem...

I´ve tried usinf a COM-Spy who shows everything that is sent or received
from the com port.

When i try the program that came with the ADC, this string is sent:

#01a0 [len=3] , and the adapter answers with the voltage:

1631#06
....now i´be been trying to send the same parameter using lab views
I/O-assistent, but the [len] is then not =3, instead it is = 5, and the ADC
gives no answer...

Any ideas how to solve this? I´m sure that it is only a small error that
prevents things from working, it would be great if anyone could help me out!

Best wishes,
Christoph



"Sean C." schrieb im Newsbeitrag
news:5065000000
050000008D590100-1075935269000@exchange.ni.com...
> Hello Christoph,
>
> Thank you for contacting National Instruments.
>
> You might try the following link:
>
>
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000A9BC0000&ECategory=LabVIEW.LabVIEW+General
>
> This is another discussion thread concerning an error similar to
> yours.
>
> Let me know if this does not help.
>
> Sean C.
> Applications Engineer
> National Instruments
0 Kudos
Message 3 of 5
(4,123 Views)
Hi there!

i´ve now managed to send the correct command to the ADC.. and the ADC
responses with 13B1#06 for example. But i still get the timeout errot - the
I/O assistant doesnt seem to recognize the answer from the device.

I´m using the command \1a0\r with the query and parse - command.

any ideas?

thanks, and best wishes
christoph

i
"Sean C." schrieb im Newsbeitrag
news:5065000000050000008D590100-1075935269000@exchange.ni.com...
> Hello Christoph,
>
> Thank you for contacting National Instruments.
>
> You might try the following link:
>
>
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000A9BC0000&ECategory=LabVIEW.LabVIEW+General
>
> This is another discussion thread concerning an err
or similar to
> yours.
>
> Let me know if this does not help.
>
> Sean C.
> Applications Engineer
> National Instruments
0 Kudos
Message 4 of 5
(4,123 Views)
Hello Christoph,

"I�ve now managed to send the correct command to the ADC.. and the ADC
responses with 13B1#06 for example. But i still get the timeout errot - the
I/O assistant doesnt seem to recognize the answer from the device."

How are you getting the 13B1#06 response from your device? If you are getting a response, when is your VI timing out?

You might try looking at what you have your timeout set to. Also, is this the only device you have connected in your system? If you have more than 1, 2/3 of the devices must be powered on to communicate correctly.

If these suggestions don't help, you can post your code and I will be glad to take a look at it.

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(4,123 Views)