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

现在最新的2019版本,不能添加自定义的目标硬件了?


LabVIEWについての質問

Drone positioning with camera and MyRio

$
0
0

Hello.

 

We are trying to make an autonomous drone, that must fly and orient itself by looking for some visual markers. We are thinking that these markers should be QR codes so that the drone can differentiate between what marker it is looking at.

 

The assignment dictates that we must use at least one MyRio-1900. This myRio we use on the drone, and then control the drone from a ground computer that sends a signal over wifi of where the drone must fly to.

 

We were thinking of 2 ways to get these images.  The first option is with a USB webcam placed on the drone directly plugged into the MyRio. Then the MyRio will read the QR code and send a signal back to the PC, so the computer can say where the drone must fly next.

The problem with this option is that we are not sure that the MyRio can handle the videofeed/analyzing fast enough to be really useful.

The other option is to use a wifi-camera (or maybe some other camera), and send the videofeed directly to the computer which will then analyze the feed and give directions to the MyRio/drone.

 

The problem with this is that it seems like a rather big problem to get a GoPro videofeed into labview on the computer, and then once we get this videofeed, we have no way to send it to the myRio since we need to be connected to the GoPros wifi to get the feed from it.

 

So all in all I am asking if anybody have some good suggestions for how we best can overcome this problem. I am thinking that the best way would be if we could somehow connect to ground computer to the GoPro, get the feed in and still be connected to the MyRio on the drone. Maybe we could connect the GoPro and the MyRio to a router and then send that signal to the ground computer.

I hope you have some good ideas because we could really use some.

 

Best regards

LabVIEW client web services and SSL - looking for example

$
0
0

Hello

 

I'm looking for an example of the app with web services converted from regular/simple/HTTP web services to secured by SSL (HTTPS).

 

Application work at LabVIEW 2017 comunicating with linux based server, based on VIs created by imported WDSL files.  

1. Server deliver WDSL files,

2. VIs for web services are generated using menu: Tools>>Import>> Web Services...

3. Works.

Then server is upgraded to secure connection based on SSL, and next WDSL file imported - all created VI look this same.

..but do not establish proper connection of course (event 1172 from .NET, cannot establish secure connection)

Yes, URL is changed, http to https, added port 443

http://192.168.1.10  to  https://192.168.1.10:443

What do I miss? Server certificate is self-signed, so there have to be some way to point trust store for LabVIEW.

Any tips, or ideas?

 

image into labview block diagram

$
0
0

Hello everyone,

I have a .img file like below picture. I downloaded it on my computer. I drag it into a block diagram to view other cases but I did not view other cases. When I drag it into a block diagram, it acts like only image. How can I view other cases? 

Example_VI_BD.png

How to detect a small Voltage Rising Drop with Noise

$
0
0

Hello gents, i'm working on a VI that can detect the timing start of an electric arc, the signal i have has very high values (i'm dealing with high voltage waveforms) and here i attach some zoomed in screenshots from Labview and another program to explain my problem.

As you can see the signal is quite noisy and the difference between the noise and the starting rising of arc is very small.

My questions are: how can i filter it properly and which filter should i use? How can I implement in Labview something that distinguishes the very small difference between the noise and the starting of the arc?

Note: the starting of the arc is the one circled and indicated in my screenshots, the starting of the arc doesn't always start around zero and I already can detect the end of the electric arc.

 

Thanks for your help

 

Unstable Communication with USB RAW Device

$
0
0

Hi everyone,

 

I am communicating with an HID device. I have already created a NI USB driver for it.

However, i found that the communication is unstable that sometimes my commands sent will get response only after few retries.

 

I hope someone can help me to take a look on my attached code and point out is there anything wrong with the code.

 

Thanks so much.

 

Best regards,

Crystal

现在最新的2019版本,不能添加自定义的目标硬件了?


LabVIEWについての質問

How can subVI timming from outside and inside not coindide?

$
0
0

Hello everybody,

 

I'm trying to optimize a project and there is a subVI that returns to me different timming if I mesure it from outside (openG tickCount -> error cable -> subVI -> error cable-> openG tickCount) than if I mesure it from inside (same as before, but inside the subVI with all its content inside a flat sequence structure, tick -> fss -> tick).

 

From the inside measure I'm getting a reasonably steady timming of 30ms. From the outside one it goes from 50 to 150 ms, with a lot of jitter. What can make a subVI behave like this? For me it's very strange. Inside it there is some call by reference VIs, but not asynchronous calls or something like this. Any ideas?

 

Thanks for your time,

 

 

EMCCi

I want to export result in my xml format

$
0
0

In my vi when i press enter button serial number and gtin number is exported in xml, i want to export my result in the below xml format (pls see attached for xml format)

 

LabVIEW progammers needed in Billerica, MA - 12 month contract

$
0
0

Please email me directly at wmeadows@gpsnational.com if interested.  Hire from telephone/Skype - start immediately.

This project is for a wearable medical device company.

  • Hands-on experience with Labview.
  • Labview Certification preferred.
  • Ready to work in collaboration with teams.
  • Hands on experience on Tools and techniques used in Agile
  • Experience with programming languages preferred

NI-DAQmx 19.5 在哪里可以下载离线文件?

$
0
0

NI-DAQmx 19.5 在哪里可以下载离线文件? 请问是否在2019的开发环境安装之后,是不是就可以支持PCIE系列的的板卡进行相关的FPGA实时性控制了?

LabVIEW progammers needed in Billerica, MA - 12 month contract

NI-DAQmx 19.5 在哪里可以下载离线文件?


Unwanted automatic promotion of .NET assemblies

$
0
0

Hi All,

 

I'm developing on a Windows 10 PC with LabVIEW 2016. The development PC has .NET framework 4.0 installed on it.  The target machine is a PCI chassis with a Widows 7 compatible controller ( running Windows 7) with the .NET 3.5 framework on it.

 

For configuration reasons, I cannot change the target machine, nor can I install the LabVIEW development environment on it in order to force LabVIEW to constrain to using .NET 4.0.

 

The problem is that when I try to select the System(2.0.0.0) to get the constructor that I want (System.Timers.Timer), I get a LabVIEW popup that states "The version of the assembly you requested was automatically promoted to a later version by the .NET runtime engine."  (NO. I WANT THE ONE I SELECTED!! STOP TRYING TO HELP ME MICROSOFT!!! - sorry)

 

Anyway, in doing research I have found within MSDN to turn off the auto promotion by adding the line "<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>" to the Visual Studio config file....  and all manner of "fixing" issue within MS products.

 

So I tried the following:

 

I have set the following on my development PC in a LabVIEW.exe.config file:

 

<?xml version ="1.0" encoding="utf-8" ?>
<configuration>
   <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v3.5"/>
   </startup>
   <PropertyGroup>
        <AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
   </PropertyGroup>
</configuration>

 

It does not help. I still get the same popup and when I build the executable and try to run on the target machine, it does not run, giving me the error that I need .NET 4.0 on the machine.

 

Any help on what I'm doing or not doing, wrong or right?

Asynchrone VI execution doesn't work when built into executable

$
0
0

Hi everyone,

I was trying to open a SubVi multiple times in parallel execution by calling this SubVi asynchronous from top-level VI (see added example).

If I run this from the development environment it works. It doesn’t work if I run the builted application.

Any ideas?

I'm on LabVIEW NXG 3.1.0

Issues accessing Citadel 5 Universe

$
0
0

Hi,

 

I would like to use the Datalogging and Supervisory Control Module features to log data, but to get used to it I tried to access the Citadel 5 Universe from MAX > Historical Data > Citadel 5 Universe. When I tried to open it I only saw an empty gray box rather than Citadel's file structure (see attachment "1")

Not sure whether the Citadel 5 Universe was running properly, I went to Services from Control Panel and found that neither NI Citadel 4 Service nor NI Citadel 5 were running. When I try to run them, I get the error message seen in attachment "2".

In its properties, I see that the NI Citadel 5 service depends on the NI PSP Service Locator service, which gives me the error message in attachment "3" when I try to start it.

 

I also tried to run the example VIs in DSC module to see if the services would be automatically started once I run relevant VI's, but I got an undefined error (-1) in the DSC module VIs.

 

Could you help me fix this issue?

 

Thanks in advance,

Why am I not being able to display the names on the lisbox when I click run?

$
0
0

Figure A below is the VI I built and Figure B is the VI I'm copying. So basically, I want my VI to display the names as shown on Figube B below when I click. However, I am not getting the same results. I have attached both VIs and the notepad file that has the list of names.

Thanks for your help.

Figure A:

Figure A.PNG

Figure B:

figure B.PNG

 

Data Acquisition stops to respond and then the RT Target crashes

$
0
0

Hey Everyone,

 

I face this weird issue where my RealTime system stops acquiring Data and streaming it to the host computer.

And then when i try to restart or pause it, it crashes immediately after that!

 

I am attaching the DAQ Vi for you to look at.

 

Looking forward to your response.

 

Viewing all 66899 articles
Browse latest View live


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