Hi guys,
maybe you can help me there with an .NET issue.
I try to use the Controller.Open() method from the Citizen.LayoutUtilities.Printing, but it always reports -1 as an error.
There is no LabVIEW error on the constructor or invoke node and the c# example works fine.
This is the Citizen SDK with the manual and examples:
https://www.citizen-systems.co.jp/en/printer/download/sdk-layout/sdk-layout-windriver_V1400E.zip
There are also c# examples included in the SDK which work without problems with the same path/file.
The call as well as the sample code looks not that complicated, not sure what is causing the problem.
I did notice also another strange behaviour with the DLL selection of the constructor.
Adding contructor, choosing DLL the first time:
If I choose the DLL the first time, then the constructor node seems not to to be refering to the DLL.
It's empty and property and invoke nodes do not show anything.
I have to chose then again "Select Constructor..." and select the according DLL again, then I can access invoke and property nodes by the constructor reference without problems.
The second time it works and the node is reffering to the DLL.
I tried it with LabVIEW 2013 as well as with 2020.
Any idea what could be wrong?