Hi all
I new with labview & i need to take care of LV project at work, the past programmer work was to communicate with our HW during .DLL file {with defined C# function & objects}.
my goal is to make this code active (the code is realy good except .dll functions that need to get pointer to struct and not intfloat etc.)
I already read the topics:
https://decibel.ni.com/content/docs/DOC-9091
http://lavag.org/topic/14528-call-dll/?hl=pointer#entry87090
It deals with related issue, but in this case i need to deliver pointer to struct that already contains data this data already usee by the program and the .dll need to adjust it.
the dll functions doesn't return the struct value.
{
UINT32 BufferReadMeasurements(Measurement* measurementsArray, UINT32 offsetInBuffer, UINT32 numberOfMeasurementsToRead, DWORD timeOutMilliseconds);
}
in the code he sends instance of the struct with initialization to const values.
but the function need to get pointer to real struct .
(while i try to run it the program the stuck)
1. someone have an idea how can i do this ?
2. while i try to change VI patterns and insert more patches (want to wire it in different way)
i found out that the vi i adjust is seen transparent in its appearance at block diagram, this cause errors in the code, so how can i change the vi pattern without create new errors ?
thenks