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

Mapping images from diferent cameras

$
0
0

Hi everyone! 

I was wondering If you can give me a hand. I have to map two images. They are gotten at the same time from different cameras, these cameras have diferrent sensor sizes (1024x1028 & 1024x1024), so there will exist an area in the bigger sensor which can not be corresponded by the other. 

I have to develop an algorithm to map both images, I have thought create a tool which ask the user to click some points in both images, in order to create a correspondece relatioship. I was reading some maths about it but I think I'm getting to difficult solutions.

 

Do you have any idea about how to solve that??

 

Thanks in advance, Maite. 


Run VI invoke node slows down the execution speed

$
0
0

Hello LabVIEW users,

 

I have a VI which calls around 12 VIs using Run VI invoke node. I have an array of all the VIs references and used a for loop and auto-indexed it to give to the Run VI invoke node. When I checked the execution speed of that for loop, it took around 4 seconds, which is undesirable for my project. Is this the natural way how Run VI node behaves or am I doing it wrong here??

Write to Measurement File Express VI header removal

$
0
0

Hello all,

 

I was wondering if anyone knows how to or has already created an edited version of the 'write to measurement file express vi' which does not create all the lines to the second "***End_of_Header*** in the output file I attached to this post. The issue is, I need to keep header which defines the columns; however, I either need to delete all of these above lines or be able to add # as an identifier so other programs will know it is not data. This seemingly cannot be done with the standard built in functions.

 

Additionally, I would like to just edit this express VI due to it already having the functionality of systematically creating new file names of the input file name exists. 

 

Thank you for your time.

Problem downloading LIFA

$
0
0

373949B2-0B8F-464E-A083-F9A01788F257.jpeg

 

We are trying to download LIFA for labview 2013 Version 64 bit but it constantly shows error , could you please help us with this.

 

Case structure FPGA Target

$
0
0

Hello ,

i have a case structure in the Target VI and i want to control this case in the HOST VI !

 

How can i do this ? 

PXIe-1071 (PXIe-8101 embedded controller) updated to LabVIEW 2017, remote front panel stopped working

$
0
0

We have a PXIe-1071 (PXIe-8101 embedded controller), more details:

  • PXIe-8101
  • Firmware version: 13.1
  • NI Real-Time Phar Lap ETS 13.1

We used a built executable, which FP was published via application webserver. It worked fine before with LV 2015. We upgraded a laptop to LV2017 SP1, and also the PXI to LV2017 from LV2015. I also provide below a screenshot what MAX shows under the "Master-PXI". Beside I show a screenshot of the startup screen of the upgraded PXI system below.

 

Since this PXI upgrade, we cannot connect to the PXI remotely to see the front panel of the main VI. Naturally, we re-deployed the built executable to the target the same way as before for the older version (so creating the HTML file, and including as written in the white paper: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P7YuSAK

 

We get only an error msg in the Internet Explorer browser, stating: "LabVIEW client version is incompatible with LabVIEW server version". This is strange, since LV2017 runtime engine (and the IDE itself too) installed on the laptops (we tested Win7 and Win10 systems, with latest IE browser!), moreover, inside the IE browser plugin directory, all DLLs are present (LV2011-2017ActiveXControl.dll files)!

 

Another strange difference is that the Comsoft Profibus (DF PROFI II) card LEDs stopped working, but in MAX the profibus interface is present and reports functioning.

 

Could someone give us ideas what to try? Extra info: we have another PXI with the same executable (same model), and it still works just fine from IE browser!

 

MAX-screenshot:

master1.png

PXI startup screen:

master2.png

 EDIT: I also initiated a Service Request (Service Request #7743810) toward NI, and gave them the permalink to this forum post to see the details...

When and which references to close

$
0
0

**I posted the same in the TestStand forum. A moderator can erase the one that is in the wrong forum**

 

Hi, I'm modifying the (LabVIEW) Teststand Simple User Interface and I have a couple of questions.

1. Is the order of the References-Closing important?

2. Should I close all References?

 

I think the Entry Pont 1 Button and the GetSequenceFileEx References are unnecesary to close the SequenceFileViewer Manager and the TestStand Engine references.nueva.PNGnueva2.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

What do you think?

 

 

 

 

 

IEC 61850 Modifying the ICD File

$
0
0

Hi,

 

For a project that me and my colleagues are working on, we have to set up an IEC61850 GOOSE communication link between a PXI device and a SEL RTAC device. So far, we went over the example publisher vi that comes with the IEC61850 driver and successfully implemented it in our project. We have modified the .icd file to create space for our data, and we were able to confirm that the device broadcasts the correct data by viewing the GOOSE frames in Wireshark.
When we tried to add the .icd file to the RTAC device, however, we started getting compatibility issues. We have learned that RTAC needs the data that we are transmitting to be in a GGIO node, which we couldn't figure out how to set.
Devices such as SEL RTAC has programs which can be used to modify and link .icd files, but we were unable to find a similar program made by NI. Are there any tools that we can use to modify the .icd file, or is writing it by hand the only way we can make changes?

 

Thanks in advance


Sound input read/sound input configure

$
0
0

Hello to all readers, I have a burning question regarding an example program I changed a bit; 

I read 9.000 samples/ch in the sound input config.

For some reason, before reading the input, this number gets halved, and I don't know what the significance of this is, why have 9.000 samples in the buffer if you're only going to read 4.500? LabVIEW_.PNG

 

Thanks in advance.

 LabVIEW version 2014 Student edition

 

Possible Bug LV2018 Project-Library Interaction - please attempt to replicate

$
0
0

Hello LV Forum members online today (and lets be honest, probably Hooovahh)!

 

I ran into consistent crash with LV2018, and I wanted to see if others can replicate it before I submit a bug-ticket. In past versions of project mode, whenever a dependency library item is added to a project the full library is added to the project folder. So far in LV2018 I get a fatal crash instead. See below or: direct YouTube link

 

How to replicate:

  1. Create a Library File with linked vis
  2. Create a Basic project with a single blank .vi
  3. Add a Library VI to the Block Diagram of blank .vi
  4. Attempt to move the Library now in 'dependencies' to be included in the Project file.

This was a very useful tool in previous versions for organizing projects and reusing libraries of code from past projects. Please let me know if you can replicate this behavior in LabVIEW 2018

2 libraries with the same name in a project

$
0
0

I need to have 2 packed libraries with the same name in a project. The reason is that I want to make a LabVIEW installer which install these 2 packed libraries in different directories. These librairies will be used in TestStand step types. With the search directories of TestStand, I can set which one of the 2 libraries I will use (only one at each time).

 

But that seem to be not possible in LabVIEW. When I added my 2 packed libraries in my project, LaBVIEW say there is a conflict

 

Is there a way to solve this problem or to find a workaround ?

 

Thanks

Laurent

 

 

Guidance with the NiDmm API

$
0
0

I would like to know which among the functions available in the NiDmm API affects factory calibration of DMMs PXI 4070 and PXIe 4080

I have a HAL library which has implementation of all the Drivers from NiDMM API and some of the Calibration and Calibration Utility VIs state that it would revert it to a known state. So we are reluctant to make this available to the developers and affect the calibration inadvertantly.

 

State Machine for DAQmx signal generation

$
0
0

Hello.

I am using a state machine and DAQmx to generate custom signals. Two of the profiles (static and staticwalk) are straight forward. I am able to generate the correct signals and the program works as expected. I am having issues with the 'ETrip' profile. In this profile, there is an acceleration phase, a constant velocity phase until a certain number of events are detected, a deceleration phase, a wait phase, an acceleration to deceleration phase, and then the signal is complete, the program prompts the user for input and then it is ready to generate another profile.

In the ETrip profile, I start by writing a finite number of samples for the initial acceleration. I then switch to continuous samples for the constant velocity phase and then back to finite samples for the initial deceleration and then the acceleration to deceleration phases. I am not sure how to go between states to generate one smooth signal. I am getting errors with the Sample Clock and I am not able to generate the expected signal.

Thank you for your help.

how to use Analog pin as digital pin Arduino

$
0
0

Hi there, 

 

Actually i am having problem, i need to use drive a stepper motor using A0 and A1 pins of the Arduino Mega ( and that's because i have a shield RAMPS1.4 so i can't change the configuration of the integrated circuit). 

I have tried to introduce the A0 and A1 as pin number 54 and pin 55 but it didn't work.

I was thinking about how to convert or how to use analog pins as digital pins? 

Looking forward for your kindly advice. 

Thanks.

If may please check the attached files below.

 

Downloading software after transferring a license

$
0
0

My company just purchased an old software license (LabVIEW 2015 Professional Development) from a friend. The license transfer was just accepted by NI. It will be a month before he can send me the software CDs. So, is it possible to download the 2015 software from the web after the license has been transferred? If so, how do I go about doing so?


Losing .net references after an error

$
0
0

Hi,

I would like to know if it s possible to keep a .net reference opened after occurring an error in Labview. Or, how to make labview not delete them all after an error. Or even so, maybe I am not understanding the "lifetime" of a .net reference in labview. But the problem is that I am not being able to use the same reference after an error.

 

Thanks in advance.

Add rows to table as required using Word Template

$
0
0

Hey All

 

I am trying to create a flexible MS Word Word Report Template for my program. I am using a Template file and bookmarks because it allows me to set individual widths for the columns of my data and more control over the appearance in general. However, the number of rows of data I will have will vary depending on the test case, it could be anywhere from 1 to 100 rows. Is there any way to programmatically control this? I found that if my template file table/bookmark defaults to say 10 rows, and I have 12 rows of data from an array, that rows 10, 11 are clobbered. I don't want to set my default template to 100+ rows and have a bunch of blank rows for the smaller test cases. I have tried both using the MS Word express VI, and manually configuring a new  Test Report, but can't figure it out.

 

I did find this thread:

https://forums.ni.com/t5/LabVIEW/Adding-lines-to-a-Table-Word-Template/td-p/1051395

But it is from 2010, and I can't find a record of the issue still being active.

 

This is LabVIEW 2017 Full.

 

Thanks!

Polar plot creation in excel.

$
0
0

Hello,

 

How to create the polar plot in excel using LabVIEW report generation toolkit like the available example "Excel Report - XY Graph Generation".

Instead of XY Graph my requirement is Polar plot.

Kindly help me.

 

Regards,

S Nagaraju.

TCPIP errors 63 and 66

$
0
0
I am testing out a LabVIEW app which has a TCPIP interface. To test it I am attempting to send commands via the TCP from a test VI resident on the same machine. When running on my desk PC it works fine. However, on the test rig PC it refuses a connection and comes back with error 63 or sometimes 66, basically connection refused. I am connecting using the loopback IP 'localhost', although I have tried 127.0.0.1 and the PC's own address. Regarding VI server connections, I have checked that the settings are the same on both machines. I tried adding '*' to the machine access section to allow access from any PC, but no joy. Thanks in advance, Ian

LabVIEW Front panel : bottom part not updating at runtime

$
0
0

Hi all,

We are a NI Alliance member and have +20yrs of experience in LabVIEW development.

In my current LabVIEW project, I am experiencing strange front panel behaviour, and have had this problem in previous projects.

 

This is the front panel of my user interface VI (created in LV2015) :

foto1.jpg 

 

What I am experiencing is this :

When the VI is running, the bottom part of the front panel is frozen. To make things clear, I've edited the upper screenshot with paint, and drawn a red horizontal line. See screenshot below. When the VI runs, nothing below this horizontal line is updated.

At first it seems more like an issue with the graphics card, but it is only this VI.

At the left of the screenshot, you see that we are using tab-buttons to select tab pages in the user interface.

Below you see more screenshot when these other tab pages are selected. You see here clearly that the upper side of the VI is updated (selected tab is showing, but that the bottom part is 'dead'.)

When the VI is not running, the front panel is behaving fine. Then I can switch the tabs fine.

There is also no object of this dead size/position somewhere. Seems like an arbitrary dead zone.

 

Some notes :

- I have had this issue in the past as well (using LabVIEW 2011).

- the position of this "line" is always the same. No idea why exactly at this position.

- Tried multiple things to solve it : forced recompile (ctrl-shift-run), saving as, saving for previous version, opening on other PC.

- So far I have no solution, except rebuilding the VI (by copying everything from the block diagram to a new VI, and then recreating the front panel).

 

Seems like a LabVIEW bug to me...

 

foto5.jpg

 

foto2.jpg

 

foto3.jpg

Does anybody have any advice?

 

 

 

 

 

 

 

Viewing all 66676 articles
Browse latest View live


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