04-16-2020 07:32 AM - edited 04-16-2020 07:32 AM
I am running in to Error 4 End of File: Invalid argument or arguments to function call.
I've attached the VI and (2) example files. It will open one of the file just fine but throws this error when opening the second file.
I did some research and found a blurb from NI about resetting the file pointer using, Set File Pointer.vi but it didn't work or i couldn't configure it correctly.
Anyone else have this error and find a solution?
04-16-2020 07:46 AM - edited 04-16-2020 08:09 AM
Hi coolhand,
@coolhandLV7 wrote:
I've attached the VI and (2) example files. It will open one of the file just fine but throws this error when opening the second file.
I did some research … but … i couldn't configure it correctly.
Anyone else have this error and find a solution?
What kind of research did you do? (Apparently no debugging.)
One of the files is empty and so there is nothing to read at all!
Btw. your VI still converts all SGL values into DBL values for no good reason…
04-16-2020 07:48 AM
Your second file is empty. So of course your going to get that error since you are at the end of the file on the first read.
04-16-2020 08:02 AM - edited 04-16-2020 08:03 AM
I must have deleted the content and didn't realize it. Well that's embarrassing. Thanks for the help, I appreciate it.