Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA

Solved!
Go to solution

1.Hex transmission.

2.Use FF as anchor point.

 

mb030216_2-1683381660378.png

 

0 Kudos
Message 11 of 25
(1,050 Views)

Hi

I hoped for something with values, but I will check the source code, to see if this can be simplified.

 

Rest my question on how fast you want to measure, and for how long?

greetings from the Netherlands
0 Kudos
Message 12 of 25
(1,045 Views)

The transmitted code is not written by me so there is no source code.only labivew code.

 

1.baud rate:9600

2.store time in milliseconds

3.The test time is indefinite.

0 Kudos
Message 13 of 25
(1,039 Views)

Ok

I will write blocks of data max 100 elements per block in a separate while.

In the measure while I wait 1ms so each loop should give 1 measurement.

Opening the file before the loop and write a date stamp.

In the loop only write the time and both values to an array.

 

In this way the arrays are updated 10 times per second. Fast enough to eee something.

 

Later I will send the vi.

greetings from the Netherlands
0 Kudos
Message 14 of 25
(1,027 Views)

as promised the vi.

I changed a lot so if it does not work, just tell me.

Let it at least run a few seconds.

greetings from the Netherlands
0 Kudos
Message 15 of 25
(1,021 Views)

OK

Thank you for the help.

0 Kudos
Message 16 of 25
(997 Views)

Is the test code the version you uploaded last time?

 

0 Kudos
Message 17 of 25
(991 Views)

I forgot the vi, I see now.

I send it after lunch.

greetings from the Netherlands
0 Kudos
Message 18 of 25
(985 Views)

Only do not stop twice, there I made a small mistake probably.

 

 

greetings from the Netherlands
0 Kudos
Message 19 of 25
(978 Views)

Hi

After the test, the file format is as shown below.There is no occurrence of different data at the same time.

The file below is my test file.

mb030216_0-1683526115048.png

 

0 Kudos
Message 20 of 25
(961 Views)