From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-19-2021 02:08 PM - edited 02-19-2021 02:08 PM
Hello community,
I'm new to LabView and wanted to ask question about finding C/C++ API for following VI
path : C:\Program Files\National Instruments\LabVIEW 2019\instr.lib\_niInstr\Streaming\v1\Host\Public
In above path, there are a lot stream functionality including Stop stream, get/set Stream, Clear Stream, etc.
Can anyone tell where I can find those API source? if it is not provided by NI, how can I implement those system in C/C++?
Thanks.
02-19-2021 04:16 PM
I think the better question to ask is "why do you need to know?" A strange request like this usually means you are trying to do something but don't quite know how.
02-19-2021 04:44 PM - edited 02-19-2021 04:45 PM
Yeah, you've got my point exactly. I've been assigned to convert those in C/C++ that I do not know how.
Why should it be strange request? I don't understand. There could definitely be situation where you need C API to make program.
02-19-2021 06:07 PM
Why were you asked to "convert those in C/C++"? Whoever assigned that to you must have a reason. Without a good reason, what you were asked to do sounds like a difficult and pointless exercise.
Interestingly, you call out a file folder in instr.lib that doesn't exist on my LabVIEW installation.
02-19-2021 06:50 PM
A quick googling makes it look like that directory is probably a FPGA library, so if you don't use it that's probably why.
I'm here to agree that what RavensFan is saying is correct. Whatever you really need to do, what you're actually asking for isn't a thing. You need to back up a few steps to give the overall goal so if you want us to point you towards something useful.