LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Channel missing & write the data in .csv file

Dear Sirs:

I started my 1st LabVIEW program for ThermoCoupling by Agilent 34970A + 3 cartridges of 34901A,

which should able to collect 60 data from every scan.

But review my .csv file, I see only 31 columns of data are recorded.

Can anyone give me some advice where I did wrong?

 

 1.JPG

 

By the way, I would like to add some header which can help to indicate the channel name in the first few rows in .csv file.

Could I use "White delimited spreadsheet.vi" to do it?

 

Thanks in advance 

 

eevisi

Download All
0 Kudos
Message 1 of 6
(4,155 Views)

Maybe can't use the channel list string "101:120,201:220,301:320",You'd better get one channel each time.I found that issue before,But I don't know why can't get 60 datas.

0 Kudos
Message 2 of 6
(4,129 Views)

Hi Weschen:

Can I know how did you solve the issue?

As you recommend, I have tried to key-in all the channel name (101,102,103....201,202, ...301,302,...320)

instead of the range (101:120, ...201:220, ...)

But the results keep same as before, seems the program can only catch data from 30chs by every can..

 

Kindly advise & thanks a lot~

 

eevisi

 

 

 

 

 

 

  

 

0 Kudos
Message 3 of 6
(4,112 Views)

Hi eevisi,

 

But the results keep same as before, seems the program can only catch data from 30chs by every can..

If this is the case then that limitation is within your DMM or its device driver functions.

(You may ask Agilent for support!)

 

What's inside those device driver VIs?

What's mentioned in the manual of your device? (Did you even read it?)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(4,105 Views)

@eevisi.chen wrote:

Dear Sirs:

I started my 1st LabVIEW program for ThermoCoupling by Agilent 34970A + 3 cartridges of 34901A,

which should able to collect 60 data from every scan.

But review my .csv file, I see only 31 columns of data are recorded.

Can anyone give me some advice where I did wrong?

 

 1.JPG

 

By the way, I would like to add some header which can help to indicate the channel name in the first few rows in .csv file.

Could I use "White delimited spreadsheet.vi" to do it?

 

Thanks in advance 

eevisi


Why are you using the advanced configuration AND the EZ-config VI's?

 

I have posted several examples on how to properly use this instrument. Search for 34970A and 34972A

 

https://forums.ni.com/t5/LabVIEW/Continuous-voltage-data-acquisition-with-Agilent-34972A/m-p/3941134...

 

https://forums.ni.com/t5/LabVIEW/Reading-the-number-from-a-certain-column-in-an-running-CSV-file/m-p...

 

Until you start using a proper program architecture like a simple state machine your results are going to be very poor.

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 6
(4,092 Views)

I means get the single channel all data every time,one 34972A need to get three channel.use channel list string"101:120" can get first 20 data,then use "201:220" get second 20 data....

0 Kudos
Message 6 of 6
(4,075 Views)