Hi all,
I'm moving the first steps into LVOO. and I try to do a "wrap" of FILE I/O VI in LVOO.
To do that :
- I've done a LVOO class
- Into the class I've created 2 methods : open and write. The first one include open\create the second only the write VI
- in the private class data cluster I put the file reference of the opened file.
- to obtain the right ref , I've drag&drop the indicator from the output of "open VI" fuction to the cluster
- the ref nume is the reference for the write methods
- when I perform the test...error :
" Possible reason(s): LabVIEW: (Hex 0x1) An input parameter is invalid. For example if the input is a path, the path might contain a
character not allowed by the OS such as ? or @."
Any suggestion?
In attachment the projetc (LV2018) with the LV class and test.vi to perform the test, in any case I'am able to write into the file.