Hello,
I have a butterworth filter, with 6 channels, implemented in the FPGA. Which value I need to put in the channel index?
Hello,
I have a butterworth filter, with 6 channels, implemented in the FPGA. Which value I need to put in the channel index?
Hello,
I have a sbRIO-9632 with a nano router connected to it by wire, which was configured to client mode and has a specific IP address (192.168.0.103 both from itself and from the host router. However when I run NI MAX a different IP address(192.168.0.100) appears and I cant connected to the board in roobotics setup wizard.
Help, anyone?
Thank you
Orit
I am not able to connect the Newport XPS-Q8 Motion Controller to LabVIEW (I guess it is not communicating). Can anybody help on this?
Hello everyone!
I have a gyro sensor which sends data through UART, It can return acceleration, angle, angular rate and magnetic field data by sending hex string data.
For example, the string data of the 3 axis acceleration are:55 51 47 FB 5F FE 87 06 A6 0F 87. The picture of data form is attached in my file. To convert it to numeric data, first, I use search/string vi. to find the header 55 51, then, it returns the rest of the strings. Second, 47 is the low byte of the x axis and FB is the high byte of the x axis. To calculate the acceleration of x axis, I convert high byte and low byte string to I16 then it was divided by 32768. finally, multiple 16(the max. range of the acceleration which can be detected by sensor). Y and z axis are the same method with x axis.
To convert the data of angle and angular rate, the method is same as converting acceleration data.
My problem is: If the update rate of the sensor is low, the program works fine. But if the update rate is high(for instance 200Hz), it seems that it can't work properly. Why does that happen? Is using search/string vi. too slow to find high frequency string data?
Can anyone help me? Tank you.
This one should be easy, but it's driving me crazy! I have a decreasing rpm signal. I want to monitor that and then at certain intervals, say every 1 Hertz, capture some values and write them to a file along with the rpm at which that data was captured. At 100 rpm, the capture can cease.
Hi ,
I have developed a xnet application using Labview(i am using PXIe-8510 NI-XNET interface card ). This application device is sending and receiving can messages to other ECU node.
Now i have a scenario like when ECU node sends CAN signal, xnet application should read and response by sending multiple can signal back to ECU. For this i thought to integrate capl script with labview(xnet application) . Can anyone let me know how to integrate capl scripting with Labview. By doing i am trying to make automatic response from xnet application.
Do we have any alternative method for this kind of implementation.
Regards,
Anand
I have (2) operations that need to execute at the same time, one of the operations is serial communication to a motion controller the other is to execute a VI that collects and saves data (DAQ). See below. I have the VI's running independent and in parallel with the wiring, however the serial comm (ie no motion occurs) when the other VI is busy. I've searched the forums and have found several examples that would suggested my setup is good, but it's not working.
I've attached a picture of the SateMachine i'm using that shows the serial communication and DAQ VI.
Let me know if i'm missing something.
Hello,
I am trying to grab some data from an Allen Bradley SLC500 PLC over a Data Highway (DH+) network and pull it into LabView 2017 for datalogging. Our PC (Windows 7) has a 1784-PKTX card to interface with the DH+ network.
I have NI OPC server 2016 installed, and it seems like it supports communication with the 1784-PKTX card. I have successfully used Allen Bradley's RSLinx software to confirm that the PC can see the PLC on the network. I got to this point by installing Allen Bradley's drivers for the 1784-PKTX card. The problem is when I go through the card configuration with NI OPC server, with the same settings as I use in RSLinx, it doesn't want to see the 1784-PKTX card. I get the following error:
Failed to locate PKTXChannel1 of card PKTX0
I have tried several different channel settings, station address numbers, etc. without any luck. Is there a specific driver I need to be using for the card aside that is different from the Allen Bradley supplied driver? Any help would be appreciated.
Thanks
Matt
Hi all,
I have a 2D array filled with numeric indicators, and I wish to resize the array row, columns and the bound of the numeric indicator (U32) to match the layout required.
Using the Property node "NumCols" and "NumRows" I was able to resize the array, that's working fine, but I am not finding a way to resize the bound of the elements on it.
I tried the property "Array Elements -> Bounds -> Area Width" , but it doesn't allow me to change the property to write mode.
Do you guys have any toughs on what can be done?
Thanks!
Hello,
I have a very strange error.
I have a LabVIEW 2017 built exe. When my customer closes the exe on her machine the exe does not respond and won't close until we wait 5 minutes.
The exe closes as expected on my machine.
I have verified my LabVIEW exe program is done when this error happens. I have run desktop execution trace toolkit and found no memory leaks or unclosed references.
Any ideas?
Hello,
My VI is a case structure and the picture I have attached is the part that takes data. Each time this part of the VI is running the file dialog prompts me to “choose or enter path or folder” store the data even though I have specified a file path using a path constant. If I remove the file dialog and wire directly to the path constant the prompts stop, but the old data is overwritten by the new one. I need help to get the VI to do one of the following:
Hello all,
Here is some code I wrote up to run an analog Resonant Ultrasound Spectroscopy setup. The code works properly; however, I would like a way to stop a measurement mid-run without having to abort execution. I thought I could put a while loop around the for loop where the measurement code currently resides; however, clearly this does not do anything as it just waits until the for loop is done (not helpful). Also I would like general feedback. Additionally, I would like to mention I have another version of this code with all the GPIB commands in a subVI, but I figured adding a new feature to this code and re-integrating the subVI later would be the best course of action.
Secondary Questions:
Any suggestions on how to incorporate the "Set LIA to Fast mode" to the error? This has not been an issue yet as if GPIB communication errors occur there LabVIEW throws an error anyways.
What is the benefit of changing these 488.2 commands to VISA? As I know someone will suggest it
I am using this VI that i found in a different similar post here and i am still having some issues with it. I am sending this from a microcontroller: b,3.9998752,9.5648515 and i want to use a different indicator for each of them. I am sure i am missing something as i am new to LV. Any ideas?
thanks
Hi all,
I am brand new to LabVIEW and I am having some issues. The issue I am currently having is this:
We have an intensity graph that is generated by a camera feed. Currently, I have an overlay of two circles - one that doesn't move that represents the border of our detector, and one that moves with a cursor. For each circle, we have a button that turns it on and off. Currently, the issue is that these circles are inside a "timeout" event handler, and linked to the intensity graph. This creates an issue that the circles flicker, which I want to stop.
Is there an efficient way that I can basically stop these circles from flickering? I had an idea of basically creating a transparent dummy plot of the same dimensions as the intensity graph, placing this on top of the graph, and having the overlay displayed on this, but this feels very inelegant. Is there a better way I can do this?
Thanks in advance for any help/ ideas.
Hi All,
I would like to generate a power spectrum of some data, for example, I have some data collected from "DAQmx Create Virtual Channel (VI)" (AI Accelerometer) for 5 seconds, and I want to generate the power spectrum for the entire 5 seconds. However, the "FFT Power Spectrum VI" or "Spectral Measurements Express VI" seems only perform the power spectrum for a limited data sample or a extremely short period of time. Is there a way to alter this setting?
Really appreciated for any suggestion.
Drake
I have a problem with Table control. All what I need:
Select one cell in the table (no multiple selection, no zero selection, no editing).
Selection can be limited catching "mouse up" event then reducing selection size. This is probably inventing a wheel but I cannot find anything better. It is Monday after all
But the main problem is unkillable EditPosition. This is simple test VI. Despite setting EditPos to (-2,-2), the result is always (0,0). And the position is indicated in Front Panel (but cannot be edited). What is my mistake?
Thank you
I have written an array which i want to display just the numerical contents in order on a Pmodcls LCD display using SPI. The array contains factors of a number. After the number is factored the array then goes into another loop which removes all of the zero and only leaves the results. Example 1 d array displays 0,1,2,0,4. after the zeros are removed i am left with a new array which displays 1,2,4. I want to display this information onto the LCD using SPI. Since the factored number can become larger then 4 i need all the numbers in the non zero array to be displayed as it changes. I have tried so many different ways and i am just drawing a blank
Thanks for any help.
I thought I'd come up with a nice method for inter-process communication, but what I've got is very flaky, making me suspect a race condition. When you run the VI and repeatedly press the GetMeasurement button, sometimes it works (displays a new value) and sometimes it doesn't. I put a probe on the UI loop's "UI_Command" data and it doesn't update every time. So the dynamic event is not always being "received" by the UI loop? Any ideas out there? Am I ridiculously abusing events for this purpose? thanks much, paul
I am an imaging scientist working with lots of 3D medical images like CT and MRI. I have been using IMAQ vision tool kit for image processing, but it is only for 2D images. I wonder whether LabVIEW provide 3D image processing tools like 3D digital filtering or 3D morphological dilation.
Could you advice? Thank you for your time in advance.
Harrison
Hi.
I am trying to program the CAN frames in a NI-XNET database. The Frame Overview window displays the message "Control could not be loaded" instead of the grid, with each square in the grid indicating all the bits in the payload of each CAN frame. Please see the attached screenshot.
I cant seem to get any CAN communication working using the database, but I can read raw frames, and have successfully built VI's to interpret these, but I'd rather use the database editor.
I've also checked to make sure the firmware for the CAN card (PXI-8513) is up to date, and it appears to be.
Any help is appreciated.