Hi. I am currently trying to set up a DAQ that reads sensor values from a website. The sensor instrumentation uploads data to a website using a web server and http protocol. I try to different ways to read this website. First, I opened a datasocket connection using the website as the url, and read string data from datasocket. The second way was to simply use a HTTP Get VI to get the body code of the website. Both ways worked on my Windows computer, but did not work when I tried to run this code on my target device (cRIO RT). Is there some software that I am missing that will not let the cRIO device use a HTTP protocol? I am currently running LabVIEW 2016 on a Windows 7 computer and LabVIEW 16.0 Real Time on the cRIO device.
Read HTTP from cRIO rt controller
Perforce SCM integration without SCC plugin
I'm attempting to set up integration between Perforce (P4V 2017.3) and Labview 2017 SP1f1 on Windows 7x64. I can see "Perforce Command Line" as an option for source control provider, but not the full Perforce SCM shown in these instructions: https://forums.ni.com/t5/ALARM/Using-Perforce-with-LabVIEW/gpm-p/3513772
I found an NI KnowledgeBase article that refers to this problem: 5LPH87UB
This instructs the user to install Perforce's SCC plugin, which should let LabVIEW access all of Perforce's functionality. This plugin, known as "P4SCC", allowed users to integrate Perforce's full feature set with any IDE (including LabVIEW). Unfortunately for me, the advice is out of date. Perforce deprecated the general-use P4SCC, and it is no longer available. They replaced it with "P4VS". The new software is strictly a Visual Studio extension. So it seems like Perforce may have cut off full-feature integration with other IDEs.
Has anyone out there run into this yet? If so, any thoughts on how to work around it? Perhaps the only choice going forward is to use the more limited integration between LabVIEW and Perforce's command line interface.
I'm going to cross-post this question on Perforce's user forum as well.
LabView 2017 Data Aquisition
I am using LabView 2017 Full Development System and have noticed that the DAQ Assistant Express VI is not present. I've tried looking through the palettes and searching in LabView's help window but to no avail. Has that VI been deleted? Can it be found somewhere else in LabView or is there a link NI can provide so that a compatible version of it can be downloaded?
I am trying to use the DAQ Express VI in conjunction with the I/O Assistant Express VIs (which are present) to gather information using the hardware Keithley 487 Picoammeter and a SR830 Lock-In Amplifier. Help is much appreciated. Thanks.
FYI: Installed: NI-DAQmx 16.0.1 installed, NI-VISA 17.0.0, and essential all the necessary software / drivers.
I' m also using Windows 7 Professional.
How to create a VI refnum
When i use the Dynamically loading and calling VIs. I don't know how to create a VI refnum.
like below. how to make the subVI like that?
ECG Labview Simulation
Greetings !
here am more likely to process signals using wavelet transforms and other processing techniques but i got struck how to process ECG signal ( right from how to give ECG as input ) first let me know how to acquire ECG in labview..??iam using labVIEW 2016 myRIO version..
i would be greatful if you could provide me detailed solution ..
Cheers !!
finding array from an array
I am trying to locate all instances of a value displayed in an array. For example if I had an array like :
1 2 3 4 5 5 6 7 8 2 1
and I use 1D search program to find 2, I should get an array of two locations in the output. I tried using the output as an array and gave me broken wires.
please guide me if possible.
Getting started window keeps appearing after testing with Teststand
Hello everyone,
I have a question. We have a test station for production, and every time they run a test with TestStand, at the beginning and end of the test, the GSW appears. This is very annoying and I haven't found any solution for it. Does anyone have an idea what might help?
I already tried in LabVIEW:
Tools>Options>Environment> "Skip Getting Started Window", this just opens a blank vi during testing
Modify the labview.ini file, with the command: showNoNavDialog=True, also opens blank vi
Using:
Labview 15
Teststand 16
Windows 10
Greetings,
Jonathan
FPGA I/O Node Control
Good morning;
I'm trying to do that:
I can chose the I/O node of FPGA, and I want to do this for changing the node in host odf my sb-RIO, but I'm obtaining an error, and I can't compile the FPGA and this control doesn't appear in read/write block of .vi in rt main.
I'm using sb-RIO 9651.
Could anybody help me please?
And, Do anybody know how to change the name of the nodes, I want to rename them.
Thanks so much.
What is the fastest way of communicating from PC to a Controller using LabVIEW?
I am working on a project wherein I need to communicate 8 boolean outputs to the controller based on the result generated by a program built using LabVIEW on a PC.
I have discussed this with a few colleagues who suggest using a parallel port data-bus and use TTL signals to communicate to a micro-controller which will give maximum transfer speed.
I understand it being a cost effective solution but will it be fastest way to communicate with a micro-controller? Also, considering it being a legacy technology which limits its availability on standard PC's I have to buy an additional PCI-E card with parallel port interface.
R&S Spectrumanalyzer FSEM, How to make a Hardcopy via GPIB with Labview 14 ?
Hi,
I have here an very old FSEM Spektrumanalyzer from Rhode & Schwarz and we want eleminate the floppy disk in our lab.
I can control the Basic functions from the FSEM via GPIB with Labview 14 so far with the Labview Driver from R&S.
We try to use the "HCopy" function from the handbook but without success so far.
Have anybody an Idea of the right command an "VI" that I can use in my applicaton to get the screen shot from the FSEM transfered via GPIB to my Windows PC ?
Thank you for you feedback
Excluding instr.lib folder from Project.Save For Previous routine
Hi,
I would like to automate downgrading process for few LabVIEW projects from LV17 to LV14. I use Project.Save for Previous method and it works fine for simple projects. It ignores everything that lives in vi.lib (KB).
I have a project that refers to toolkits located in instr.lib (Agilent PSU, NI-DMM, NI-DCPower). Saving this project for previous version converts toolkits from instr.lib and stores them to my destination folder as part of a process. Agilent driver and niModInst (part of NI-DCPower and NI-DMM) are converted, while NI-DCPower and NI-DMM are untouched and not copied.
This process greatly changes my destination folder hierarchy and alters references to these VIs in my destination converted project.
I don't want to save these external toolkits for previous version, because I already have them in a different LV version installed. They are toolkits and not project specific files.
Have you ever tried to setup Save for Previous function so it really ignores instr.lib? Or maybe, is there a way to setup third-party toolkits in instr.lib so they act like NI-DMM and NI-DCPower? Like "I don't support saving for previous, please be kind and install me for a different LV version by yourself"?
Thanks,
Nikita.
Serial communication problem - Modbus ASCII
Hey,
I try to communicate with a temperature control via VISA. I have problems to understand the received message. The answer to my input string (:070310000001) was :0783096D. I thought 83 stands for the "Function Code" and 09 for the "Exception Code", but I can not find what exactly is the meaning of this.
The process value should normally be something about 21°C (room temperature).
Thanks for help!
Can't use TEC Controller & TIM101 in combination
Hi!
I'm trying to implement both a Thorlabs TEC Controller TTC001 and a PZMotor Controller TIM101 in one LabView script. I'm fairly certain the drivers are working, since the APT User software can recognize and control the two interfaces easily, at the same time:
..and since i'm also able to use the interfaces seperately, in a LabView script - the problem occurs only when i want to initialize both of them in one script (Which is exactly what i need). Here i try to intialize the PZ Motor first - the PZ Motor is initalized succesfully but the TEC Controller fails to connect:
Here i initialize the TEC Controller first, which initializes succesfully, but results in the following error from the PZ Motor initialization:
I'm using a USB-hub for all of my devices, if that's of any significance.
I hope it's just my rookie LabView-coding abilities that makes me miss something - can you help me?
Best regards,
Mathias Rosendal
Multiple DAQms tasks for generate a CO Pulse Freq to control stepper motor speed
Hello,
I have a potentiometer with who I want to change the duty cycle of a pulse signal to control the speed of a stepper motor. I am using National Instrument NI USB 6212 as data aquisition module. I created an Analog Input Voltage DAQmx channel to get the potentiometer voltage and an CO Pulse Freq DAQmx channel to generate the pulse signal. How can I use the potentiometer as a Trigger so every time I rotate the potentiometer the CO Pulse will trigger and change the duty cycle.
I created the scheme for both of events but I can't figure it out how to connect them between themselves.
Thank you
Controle PID- Controle de Temperatura de um tanque
how to (re)play captured (import) data in NXG
Hey,
I have imported a csv file into NXG -> visible in 'captured data'.
But I'm not finding an easy way to play the waveform.
In documentation, it's suggested that one has to use an analysis panel. But I'm also not able to find such an analysis panel, except offcourse the chart, graph, etc. objects...
Can anyone help or give me a hint?
thx
apply transfer function on signal data
Hi
I am working on a problem that I cannot solve by myself.
Where I work, we recorded some current data. Due to some measurement disturbances the current data is distorted. The manufacturer of the measuring device provided me with the transfer function. Now my job is to work out a way to find the undistorted data.
In theory I could apply the inverse of the transfer function to the data I have got, right? But how can I do that? How can I apply a transfer function on a series of data points?
Thanks for your help!
ModBus ethernet
Hello,
I want to communicate between a PC (using LabView) and a Delta PLC using ModBus over ethernet.
I got it working by creating a I/O Server library and Create Bound Variables... . It read the values in the PLC registers at the addresses I was reading.
But it now automatically stops running without reading any of the PLC registers and gives an unidentified error (1967353901). Googling says it might be an incorrect/non-existent address. I removed all but one address and it still automatically stops running without reading anything; the shared variable is highlighted in the block diagram as the problem, but why did it read before?!
Thank you.
Increasing Program speed
Hello!
I was working on a V-BLAST communication scheme. A lot of digital signal processing needs to be done at the receiver side. In order to ease the hassle of timing matching, i simply used a producer - consumer state machine approach. I put a waveform generator at the producer state machine to monitor the incoming signal and i put a threshold detector at the consumer so to indicate whether the signal has arrived or not.
The signal actually arrives a couple of seconds earlier. I can say this because i monitor the waveform. The threshold is detected later. I was wondering despite decreasing the complexity of receiver (less operations) are there any common mistakes that i might have done in my implementation. I am a newbie in LabVIEW and i designed the code not knowing the aftermath in terms of speed. In your experience, what mistakes to common people generally do? I have a doubt that adding a lot of Sub VIs although makes the code compact but i think it increases the time of operation and i have many of them in my code.
LabVIEW2015 Need help programmatically deploying RealTime App to cRIO
I have an application that is split up into 3 components:
- FPGA: Collects data from sensors through modules
- RT: Polls FPGA FIFOs for raw data, converts it and broadcasts it
- Host: UI/TDMS, Display calibrated data and logs raw/calibrated data to disk
I am able to programmatically deploy the FPGA bitfile from within the Host application. Now I am trying to figure out how to install the *.rtexe file to the real time part of the system.
Ideally the host program will do both of these as the cRIOs we have bounce around between projects so if not configured for the current project it needs to configure the system for use with that project.
Any suggestions or links on how to do this would be very appreciated!