Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Error VISA: (BFFF006C) and (BFF006B)

Hi Kees,

 

Thanks for your reply. I tested my Hardware with Hiperterminal and I receive data.

Here I attach a .txt file and you can see my data.

 

Ricardo.

0 Kudos
Message 21 of 29
(2,245 Views)

Hi Ricorda,

 

I see something, but is it data from a device or is it rubbish ??

 

Kees

0 Kudos
Message 22 of 29
(2,237 Views)

Kees,

 

that must be data from my device. I don't know how is the showing of data in hyperterminal.

I can say too I tested my device with a c++ program on the console of visual studio and I receive without problems data.

 

Ricardo.

0 Kudos
Message 23 of 29
(2,231 Views)

OK, This tells me that your HW is OK.

 

The error ..6B reports a framing error. This occurs when you have a wrong parity or baudrate. But I am sure that you double checked this. Must of the time the stopbit setting is not important, but not always !!

 

The overrun error (..6C) is a bit strange. I would not expect a overrun error and a framing error.

 

I had a look at your VI. Should have done this before my first post.

You read bytes directly after a write (you are the third today) You should write data and wait till the number of bytes you expect are available and then read the data.

Maybe this helps.

 

Kees

0 Kudos
Message 24 of 29
(2,224 Views)

Kees,

 

The problem is too that I tested the communication only with the MAX of LabVIEW and there I get the same error.

I think that must work good, but it isn't so...

 

Ricardo.

0 Kudos
Message 25 of 29
(2,221 Views)

Dear Ricardo,

I tried your VI on my system and it runs without any problems.

In the picture you can see it. I tried to send Numbers with the Advanced Serial Write and Read. vi (attached)

 

You can also find in LabVIEW->Help->Find Examples..->(Searchingword:Serial).

 

Start your VI before you start sending of data.

 

I hope it will help you.

 

Best regards,

Tatjana

 

Download All
0 Kudos
Message 26 of 29
(2,198 Views)

Dear Mrs Tatjana,

 

Again, thank you very much for your replies and your time.

I tested what you said me. I started my VI before I start sending of my data and that didn't give me results.

Do you use another hardware for the serial communication like MAX232 of LabVIEW?. 

I tested other program only of writing and it run very good. Also the problem is only of reading. I already think the communication speed (57600) is very fast for LabVIEW. 

Must I use a Real-Time module?

 

Best Regards,

 

Ricardo.

0 Kudos
Message 27 of 29
(2,180 Views)

Your serial driver does the speedy thing. LabVIEW just reads out the buffer and I've seen that serial IO at much higher serial baudrates is possible.

So something else is keeping you from reading correctly

greetings from the Netherlands
0 Kudos
Message 28 of 29
(2,174 Views)

Dear Deutscherich,

I didn't use the MAX232.

I connected a sereal cable to the COM1 of my PC, and put a bridge between Pin2 und Pin3, in this way you can test the "hardware" of your PC.

D

It mean, you write message and your receive message is the same. In this easy way you can test also you MAX232.

Test your hardware in this way.

The Baudrate of 57600 is not to high, I tested it also without any problems.

 

You can also post your circuit-diagram, how do you wired MAX232.

 

Best wishes,

Tatjana

0 Kudos
Message 29 of 29
(2,159 Views)