FOUNDATION Fieldbus

cancel
Showing results for 
Search instead for 
Did you mean: 

How to download scheduler ini file with NI API?

I created some schedules in .ini file format which I would like to download with an own program.
Which function(s) from the NI API do I need to download a schedule to an interface?
I think it's nifDownloadDomain() but I'm not sure.
The API says:
nifError_t nifDownloadDomain(nifDesc_t ud, uint32 index, char *fileName);
But it doesn't waste one word about the expected kind of file format...

Can anyone help me with this?

Thanks a lot

Phil

0 Kudos
Message 1 of 3
(7,199 Views)

Hi Philip

The INI file is to describe the LAS schedule, which is downloaded to the linking master devices.

Unfortunately, you can't download the INI file with the public NI-FBUS API. nifDownloadDomain is to download a binary file supported by a certain device.

You download the LAS INI file in the utility "Dialog" as the attached picture shows. But it only allows you to download to the interface device instead of all the linking master devices.

-Frank

0 Kudos
Message 2 of 3
(7,175 Views)

@frankwu wrote:

Unfortunately, you can't download the INI file with the public NI-FBUS API.


I was afraid of that. Well, now I know it. Thanks anyway for helping.

Phil

0 Kudos
Message 3 of 3
(7,166 Views)