DataFileExport

Hello

I face a problem with the order of DIAdem DataFileExport. Indeed, I would like to export one or more channels from the portal of data in an Excel file. I followed the help and wrote this very simple code:

Call DataFileExport ("C:\Documents and Settings\dzhnw7\Desktop\Example.xls",[4], [Excel] ")

(my data portal is already loaded, and the number 4 is the channel that you wish to export).

But I got this error message:

Error in (line: column 11: 1):

Cannot determine the valid parameters for the procedure for loading/saving "NOVALUE".

The name of the procedure of loading/record is unknown. (The name is not defined or has not been entered correctly.)

You know the necessity of the changes that are necessary for this type of export?

Thank you

Jeremy

Hi Jeremy,.

You will find the number property of the string with the CNo() command, assuming that you are looking for with the name of the channel is on the data portal.  This is a minor modification to your script to put it on the channel selected channel.

Channels_to_export =""
iMax = UBound (Selected_channels)
For i = 1 to iMax
IF i > 1 THEN Channels_to_export = Channels_to_export & ""
Channels_to_export = Channels_to_export & NOC (Selected_channels (i))
Next

Brad Turpin

Tiara Product Support Engineer

National Instruments

Tags: NI Software

Similar Questions

Maybe you are looking for

  • Ios10 and iBooks

    After you download the new ios 10 on my iPad, I can't use ibooks to download new publications.  Simply, it does not open but continues indefinitely to load.  It loads correctly on my iPhone, but not my iPad, which have been upgraded.  The books I hav

  • How can I determine if a non-LabVIEW windows program is installed on a computer?

    I would like to know how to generate a true/false condition, based on the question of whether a program is installed on a target computer. I have a few applications that must adjust with their features, based on the computer on which they are install

  • Windows XP need to upgrade to SP2 or SP3

    Hello I have Windows XP SP1.  I need to upgrade to SP2 or SP3.   There are free downloads online.  can I use them? or should I buy from you?  Please me know Thanks in advance

  • How to upgrade qml component an act any

    Hello I need to display the remaining battery time. I tried to put some battery_info in their context but couldn't as long as it's not QObject. I need display the calendar in real time on my qml. How can I do

  • Drag and reposition a control

    I tried to find a way to drag controls (i.e. imageView) around a page and that's what I come up with so far onTouch: { var iniX = 0; var iniY = 0; if (event.isDown()) { iniX = event.windowX; iniY = event.windowY; } else if (event.isMove()) { myImage.