02-26-2015 02:13 PM
02-26-2015 03:06 PM
@Dennis_Knutson wrote:
That's the price I remember as well. It only supported a subset of the LabVIEW functions as well. What is your purpose for converting to c?
It was for a project where I wanted to use NI hardware/software instead of PLC's. My boss saw the C generator and wondered if I could write the code in LabVIEW and convert it into C for the project. But since LabVIEW software/harware was so much more expensive for this low volume project, they decided against it.
I do not know C, so I ended up in Michigan for a week learning Think & Do software so I could program PLC's for the project.
02-26-2015 03:32 PM - edited 02-26-2015 03:33 PM
@_Bryan wrote:
It was for a project where I wanted to use NI hardware/software instead of PLC's. My boss saw the C generator and wondered if I could write the code in LabVIEW and convert it into C for the project.
I played around with the LabVIEW to C generation for awhile and I didn't like it much. The functions that would convert were very limited (couldn't use event structures for example), and the actual code itself was obviously generated and somewhat difficult to follow. Why don't you just import your C instrumentation drivers in to LabVIEW?
Edit: Clarity
02-26-2015 04:14 PM
BowenM wrote:
I played around with the LabVIEW to C generation for awhile and I didn't like it much. The functions that would convert were very limited (couldn't use event structures for example), and the actual code itself was obviously generated and somewhat difficult to follow. Why don't you just import your C instrumentation drivers in to LabVIEW?
Edit: Clarity
There was no C code. The new project was based off of an older project that was written using a very old version of Think & Do. The new version of Think & Do is not compatible with the old version, so I had to do a complete rewrite of the software with the new requirements. The decision was made to stay with that software/hardware because that's what was used before.