Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid Aspects error

Isn't something like a break possible to reset your device or is it the break (a kind of command on the bus) the produces this behaviour?

 

greetings from the Netherlands
0 Kudos
Message 11 of 13
(1,266 Views)
I looked a little closer at the HDD log and you can see on line 278 the write is performed and on line 281 when the Get COM status is performed the serial board is returning that a framing error has occured. The 02 indicates a framing error, so it isn't a VISA problem. It's just that your device is sending bad bytes after it restarts.

281,IRP_MJ_DEVICE_CONTROL (IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status),UP,TRUE,0x0,02 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 ,....................,

-Josh
0 Kudos
Message 12 of 13
(1,265 Views)
Thanks for all your help, everyone.  I used a scope to look at the data beeing sent by the device, and it seems to be sending wrong data, which is what causes the framing error.  Fortunately, after I reset it, it starts to send good data again.  So that's one possible thing I could do. 
0 Kudos
Message 13 of 13
(1,249 Views)