Quantcast
Channel: LabVIEW topics
Viewing all 67066 articles
Browse latest View live

Error 63 when connecting to LAN device

$
0
0

I am trying to connect to an Alpha 4160C LED sign that is configured to run through a LAN Ethernet adapter which I have assigned an IP address and set the port to 10001.

I am able to connect and broadcast to the display with device software, but not through LabVIEW. When I run the VI I get the error message 63.

I disabled the firewall and am still unable to connect. 

I am not terribly familiar with this software and any help would be greatly appreciated.

 

Thanks,

Kevin


Eliminating undesirable data

$
0
0

hey all,

i am acquirind displacement and by this data, in labview i use derivative VI and get velocity.

The problem is:

When the program makes the derivative, I think in each buffer the value return to an specifical value.

On can see this problem in 2 pictures attached and Main VI is also attached.

 

Thanks since now,

Arthur.

Controlling Stepper Motors for 3D printer

$
0
0

Hello All,

I have been browsing the forums and cannot find anything that helps. I am attempting to create an x-y gantry that is actuated by 2 stepper motors. I have this stepper motor https://www.amazon.com/DROK-2-Phrase-Universal-Electric-Engraving/dp/B06XSYP24P/ref=sr_1_6?ie=UTF8&qid=1537462619&sr=8-6&keywords=17+nema+stepper+motor&dpID=41BTXHONjqL&preST=_SY300_QL70_&dpsrc=srch and this driver https://www.pololu.com/product/2133. Part of the requirement for my design is to control the movement of the stepper motors using an arduino/labview interaction. I unfortunately have zero experience with lab view. If someone can point me in the right direction that would be phenomenal.

Thank You

Property Node? Output to visual boolean array loop?

$
0
0

Hey guys! I'm relatively new to labview and am currently making a "pong" game for a project. SO far what I have working relatively the way i'd like it too

* User inputs a shot strength value that is compared for equivalency to a randomly generated # 

* if the two values are equivalent, the "made shot" bool indicator will activate

what I need a little guidance on is outputting to a boolean array of indicators that value if they are matching.

what I have currently in the VI is me attempting to initialize a boolean array 0-9 which will fill at the index of the matching values.(AKA if user selects 7, number generator hits 7, boolean array indicator 6 should light up on the front panel and remain lit.)

Thus far i've been able to get some of the boolean array indicators to light but only one at a time, so I believe my problem lies within my use of either the feedback node or my lack of use of a "property node" which I do not understand really at all for this application.

 

Any insight greatly appreciated!!

sebastian

 

How to Plot an real time updating single point 3D scatter graph.

$
0
0

Hi to all,

 

I met a problem using LabVIEW to create a "real time" 3d plot of one single point. What I want to achieve is that, in every loop, three coordinates XYZ are calculated (3 float number), and use them to plot one point use scatter plot, then in the next loop, three new coordinates are calculated and I use them to update my one point plot. For the all-time, there is only one "updating" point in the 3d scatter plot.

 

The problem is that, if I use built array to create the XYZ array as the input of the scatter plot (three 1d arrays with only one element each), there is nothing in the plot. The colour bar beside the graph is changing with coordinates, but I see no point in the graph. However, if I add three shift registers and use append array to add new coordinates into the three arrays, I will get a cumulating plot (which is not I want, of course, but better than nothing). I am confused about the difference between them. Does it mean I have to use a shift register?

 

I am a beginner of LabVIEW, any help appreciated. Thanks in advance.

 

Fin.

Initiate LabView Program When it Receives GPS Signal

$
0
0

Hello, I am the OP of this discussion: https://forums.ni.com/t5/LabVIEW/High-Rate-FM-Data-Collection-Help/m-p/3892314/highlight/false#M1104184

 

I am now attempting to write code that will initiate the USRP and open the TDMS file, but will wait until exactly a minute changes according to GPS time.  For example, if I initiate the code at 5:46:26 PM, it will initiate the USRP and open the TDMS file, but not continue in the code until a signal from GPS says that the time is exactly 5:47:00 PM. 

 

I already have the ability to send GPS data to LabView, so I am simply making sure I understand how to make a program wait before the rest is executed.  I have tried using for loops, while loops, along with "tick count", "wait", and "Wait Until Multiple", and can't seem to figure out what must be fairly simple.

Any help is greatly appreciated. 

 

PS: I need the execution to be accurate within a 1/10M of a second or less, hence why I am using a signal from GPS to accurately time it's execution.  If there is anything that might misalign this accuracy such as Windows only allowing operations to execute every 10ms or something, please let me know.  Thank you.

Do I need a GPU for labview 2013 or other version?

$
0
0

I have testes LV2013 in 3 different DELL PC's 64Bit W10 and W7 and W8 8G RAM with 2 Monitor and every 2 days when I modify block diagram suddenly screen is frozen but it slowly upadates screen line by line. It takes about 2 minutes to update all screen and block diagram. After that I continue working normally. My CPU or RAM does not show it is full so, maybe GPU ?

Please help

Automated VI Profiling

$
0
0

I've not been able to find any information regarding an API into the VI profiler. Specifically, I would like to be able to add into my CI workflow a set of profiling tests to identify performance changes in key processes. I can kind of roll my own but LV's profiler is already super nice. Is there any way to configure and call that without interacting with the UI?


I can't creat R-series(USB-7855R) devices in my project.

$
0
0

Hello,

 

I'm trying to use USB-7855R. My system information is below

 

OS : window 10

Labview 2018

Labview 2018 FPGA module

 

and I have a USB-7855R. 

 

I installed

1.labview

2. FPGA module

3. and then the lasted version of NI R series Multifunction RIO devices driver.

 

After install all of those by the order,

I can see my 7855R in the NI-MAX.

So I  tried to creat a new project and add new target device but I can't creat R-series devices for a target.

 

Does anyone have same problem?

Communication error using myRIO executable with shared variables

$
0
0

Hi, I'm trying to read a network-published shared variable from a myRIO-1900 (LV 2018 32-bit).  The code is contained in two different projects, and the variables are deployed onto the myRIO.  The PC sends a request to read data from the myRIO using a network-published shared variable, and waits for a response on another network-published shared variable (both of type string, from flattened data.  When running both the PC and myRIO from code (i.e. hitting play on the PC and myRIO main VIs), communication works fine, the myRIO receives the requests and sends data back to the PC.  However, when running code on the myRIO as a RT executable, this doesn't work properly.  The PC reports warning 180121602 (empty buffer) when trying to read from the receiving shared variable, and when I hit refresh in DSM, it says that it is trying to connect to both variables despite having statuses as "good."  Any advice is appreciated! 

Rust and G Community

$
0
0

Hello! This is a brief announcement that there's a new community here:

 

https://forums.ni.com/t5/Rust-and-G/gp-p/5381

 

I started this to discuss a project called Rebar, which is an experiment in combining semantics of the Rust language (https://www.rust-lang.org/) with G syntax, implemented as an addon for LabVIEW NXG. You can read more about it and find a link to install the addon over at the community. Please take a look!

how to make Horizontal scrollbar enabled in a disabled 1D array

$
0
0

 Hi,

    I have a cluster with one checkbox and 1D string array.Checkbox is for selecting the 1D array.So checkbox is a control. 1D string array is only for displaying.To prevent the user typing in array,array is disabled.Then horizontal scrollbar is not active.How we can move the horizontal scrollbar in this disabled array.Please help

Import shared library Startup problem

$
0
0

Hi Guys, when I try to launch the Import Library Wizard, I get an empty window. See the screenshot

My LabView 2017 version 17.0.1f1 (32bit)

 

Thanks for your help

VI‘s name jumps up when error occurs during run the .exe file

$
0
0

Sometime when I run a build .exe file , an inner error occurs,and then the screen pop up the error subVI's name .I know it aims to help me locate the error , but that still may release important information of my algorithmic structure.

 

So I want to hide it ,what shall I do to accomplish this ? by setting ?where ?

Sorry , it is difficult to replay the phenomenon , I now have no picture of it .

Butterworth Filter design

$
0
0

Hello,

I need to design a butterworth filter with following characteristics:

 

1. Type: Low-Pass
2. Characteristic: Butterworth
3. Cutoff-Frequency: 60 Hz
4. Tolerance level at 0 Hz : +0,1/-0,2 dB
5. Tolerance level at 60 Hz : (-3dB) +0,1/-0,3 dB
6. Slope: 24 dB/Octave
7. Tolerance level of the slope : +5/-5 dB
8. Attenuation band: -50 dB

 

The sample rate is 2 kHz.

I guess it must be a butterworth filter 4th-order (because the slope is 24 dB/Octave) with a low cut off frequency of 60 Hz.

But what is the attenuation band and how can I find out the tolerance levels?

 

Thanks for your help!

 


Question related to timing

$
0
0

Hi everyone, I would really appreaciate it if you could help me with this small issue. I have to carry out a test of one system , to make this test I need to use values of one array each certain of time.

Basically its a table , first column each row its the time when i have to use the values, and the rest of columns are the values for that specific time.  

Example

7:00  4   5

8:46  10  6

9:03   3   8

etc

So I am thinking of using a timer that counts each 30 seconds, and a function to gets the hour and each 30 seconds check the array and if the current time and the value match i get the value and i do the operations. First if you think an easier way of doing this it will be great. Secondly I am not able to use the function "Search 1D array" in order to compare the value I got "in the get time " with the position of the array since it has a red colour and "Search 1D array does not allow me to introduce that kind of data " ... any advice ?? many thanks !!

Kinesis TDC001 .NET container showing empty controls

$
0
0

I am trying to automate TDC 001 DC motor by Thorlabs using LabView, however after inserting the .NET container and linking the .dll , I am getting a blank control in the front panel. 

Also , even after connecting the DC motor to my computer via USB , while running the the VI, it says ' Device not found ' . 

As mentioned by the kinesis manual , i have copied all the necessary .dll in the same folder as the Project of this VI.

Please help me out.

Regards,

Sandhya

 

Listbox scroll event is not captured when clicked on the scrollbar and dragged

$
0
0

Hi all,

 

I need to synchronize the scroll position of 2 listboxes for our project. The "Mouse Wheel" event detects the scrolling when the user wheels the mouse or when the user clicks on up/down arrows in the scrollbar. But this event is NOT detected when the user clicks on a scrollbar and drags it and then leaves it. So in this case the 2 listboxes are not synchronized. Please do suggest if there is any solution to it.

 

A standalone scrollbar has a "Value Change" event to detect the change even when the user clicks on the bar & drags it. But using this standalone scrollbar is not an option since it does not allow customization (change the color and increase the width for the touchscreen application).

 

Thanks,

Priyadarsini S

LabVIEW 2017 (64bit)0 on Windows-10 (64bit)

$
0
0

HI

I have a machine with a Windows-10 Enterprise 64 (14393.0) bit OS and LabVIEW 2017 64bit.

 

Whenever I double click a .VI or .LLB the system complains that 'There was a problem sending the command to the program'.

Cancel the error box and the VI then opens.

Double click the VI again and the same error is raised, even though LabVIEW is already running and the VI then opens again leaving two (or more) identical VIs open at the same time.

 

I can open LabVIEW, File-Browse to a VI and open it OK.


I've tried various solutions suggested on the InterWeb, all to no avail, such as

  • Reset  the default application for the extension to something other than LabVIEW and then setting it back again.
  • Set the application to run as administrator (or not depending on what you read)
  • Deleting  the associated  ddexec entry in the registry.

Any help would be much appreciated.

Write to Measurement file time column

$
0
0

Hi everyone

 

I've currently created a VI that should measure and store DAQ-data continuously in a lvm-file. The time column starts at 0 which is good but after 2 seconds it jumps to whatever (like 18, 20, 32,...) and I have no idea why.

Does anyone of you have an explenation?

Check out the VI attached.

 

Many thanks.

 

sciu

Viewing all 67066 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>