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

QMH VS Simple Producer consumer design pattern

$
0
0

Hi All,

 

I have to develop CAN base test system which will control multiple CAN controller along with Digital IO and Analog inputs. So each node will have 2 DIO and 1 AI with CAN controller. My confused on what is good approach in order to develop application. I have no experience in QMH and i am finding difficult in visualizing data flow in case of QMH. Can some one just explain or throw some light so that i can make better call. 

 

Thanks 

Anurag


Blowfish Encryption zLibInflate.vi Error

$
0
0

Using LabVIEW 2108 32-bit:

 

I downloaded and installed the LabVIEW Blowfish Encryption.llb  It includes a zlib.dll that I'm not sure what to do with...  

I moved both llb and dll to LabVIEW 2018/user.lib and restarted LabVIEW.  All VIs are fine except ZLibInflate.vi and ZLibDeflate.vi

 

Errors are:  Code Interface Node: LabVIEW subroutine link error and Code Interface Node: Object code not loaded.

 

Details:  The external subroutine could not be found

 

Any help is greatly appreciated.

Occurrences (on FPGA) with Timeout = 0

$
0
0

I want to use an occurrence to stop a SCTL on FPGA based on another loop stopping.

These are both inside a standard While loop (the same loop, in a case structure).

 

Simulation seems to show a problem similar to that described on a standard desktop VI - the "Generate Occurrence" node creates a single reference regardless of how many times it is called, and then if I set Ignore Previous to "False" I get previous iterations' "Set Occurrence" triggering it, even if I have previously Waited on that occurrence (of the Occurrence).

 

Is there a good workaround for this?

I can try setting Ignore Previous to True, but then I suspect there exists some potential for timing problems. I don't know if using FPGA provides some improvement here, but I wouldn't bet on it not being a potential "race-like" condition.

 

A rough outline of the desired VI is below:

Example_VI_BD.png

 

Some possible alternatives include a boolean Register or a Local Variable boolean indicator or control, or (more expensively, I think) some sort of VI-scoped FIFO (guess the register is a much better plan).

 

Can I use Occurrences here? Are they a good tool (and if not, when are they a good tool? Only when timeout != 0 and ignore previous is true?)

 

 

请问安装了labview2019 FPGA 模块之后,没有高吞吐率数学,请问该如何处理?

NI-DAQmx 19.6 not for LabVIEW2020 community version

$
0
0

I was trying to use DAQ Assistant from Express funtion of labview2020 community version after installation of NI-DAQmx 19.6 which is the latest as of now.

I found DAQ Assistant missing!!!

Then I realize that DAQmx 19.6 supports only till labview version 2019.

What am I supposed to do now ???

How to enter in a web page with LabView?

$
0
0

Hello everyone,

 

I´ve been thinking in a project but I don´t know hot to do it...

Let me explain my project idea: I love chess, I am an mechatronic student and I like too much Labview programming, I want to make all this togueter in a single project.

In internet there are web pages where you can play in a modality called *correspondence*, I mean you start to play with somebody he sends you his move and you have all one day to reply the move.

And I want to make a chess that moves for himself when my opponent sends his move then I would make my move and it would be automatically send to my opponent.

And my question is... Is there any way to enter as a client in a web page, read some part of the web page and then send a reply with Labview? Do I have to use other programming Language? Is not posible what I want to do?

In the chess web I want to log in with an user and a password

 

Hope you can help me

Alhebu

 

Here is the page I want to read

https://lichess.org/

1. d4 d5 2. c4 c6 3. cxd5 cxd5 4. Nf3 Nf6 { D13 Slav Defense: Exchange Variation } 5. Nc3 Bg4 6. Ne5 e6 7. Qb3 Nc6 8. Nxg4 Nxg4 9. h3 Nf6 10. Bg5 Be7 11. e3 O-O 12. Bd3 Rc8 13. Rc1 e5 14. Bxf6 Bxf6 15. Nxd5 exd4 16. Nxf6+ Qxf6 17. O-O dxe3 18. fxe3 Qg5 19. Rce1 b6 20. Qa4 Ne5 21. Bc2 Rfd8 22. Qe4 g6 23. h4 Qh5 24. Bd1 Rxd1 25. Rxd1 f5 { Black resigns. } 1-0

 

This is an example of how the moves are readed by humans

Labview 11 USB 6002

$
0
0

Hello

 

Dose LabView 11 support the USB 6002 device

 

Best regards

 

Asger

请问安装了labview2019 FPGA 模块之后,没有高吞吐率数学,请问该如何处理?


SPI pressure Sensor

close a dialog interface after some predefined condition

$
0
0

So I want to pop up a dialog vi(a 10s timeout vi)some when running the test like remind the operator to push a button on the PCBA, and then i will detect whether the operator had pressed the button, if the labview code had detected the press action, then i will close the dialog and go to next test.
my problem right now is i can create a vi and set it as a dialog but i cannot close this dialog and have to waiting it timeout after 10 seconds. 

is there any good way to close the dialog in code.

So the first callback is pretty simple, will run 10 seconds and do nothing as below, image.png

in the second callback,the only thing i did is trying to close the first call back. but of course failed.

 

 

image.png

 

 

and below is the main code

image.png

NI 8451 problem

$
0
0

Hi 

 

I got a problem with a ni 8451 device.

When I look in MAX or Device manager, it shows up with the text "NI USB-8451 Firmware Loader" and the Led is off.
A good device is showing "NI USB-8451" and LED is flashing.

 

 

 

 

 

 

The bad device stopped working and I don't know why.

 

regards Bjarne

Fuzzy System Designer

$
0
0

Hello, 

Im working on my thesis, where i have to use fuzzy. I set pretty much everything from variables to rules, but i dont know why my test system is not showing output values 100 when every variable is set to the highest value, i tried to change defuzzification method, but only Center of Area is showing the output values on 93,75 and its the highest point it shows. Could you please help me or recommend me how to fix it? 

 

I attached the file .fs

Algorithm minimizing ISE or IAE

$
0
0
Hello
I am asking for help in solving my problem (I will be grateful for every tip), namely, I modeled my object using state variables in labview and I am tasked with selecting controllers for my object using ISE or IAE minimizing algorithm. The object is a ball on a ramp, a cascade regulation and a feedback system are involved. I have many questions, namely whether there is a block that will help me choose these parameters very much, whether it is possible to choose the settings of both controllers at once ... On which method should this algorithm be based to give the best results. I will add that it all takes place in the simulation loop. If you have any additional information, please ask. Thank you in advance for any help.
Regards Alex.

Visa serial vs hyperterminal

$
0
0

Hi

i have a problem using visa serial with my IoT device. when i connecting it to the hyperterminal its working fine.  When i entering ttt command without pressing Enter button , my device shows in the hyperterminal window terminal commands menu about 25-30 lines of commands at the end it shows Cmd> .

when i enter Battery 1(Enter pressed) command at the prompt, my device replies with these lines:

Battery connectedCRLN

LN

Battery Done!!!CRLN

LN

Cmd>

------------------------------------------------------------------------------------

when i'm trying to use this algorithm with visa serial it's not working. I can send through visa write command ttt and i see the terminal menu and Cmd> prompt in the buffer output. When i'm trying to send Battery 1 command, it's shows me only 4-7 bytes of some ascii code not the output i need.

i have tried to add '\r\n' , '\r' to the command string of Battery 1. but it did nothing. also i have tried to change visa serial config termchar enabling add cr or ln. but these changes are also did nothing. NI Trace also gives some garbage and couple of dots at the and of the outputs this all. may be you have some advice

I can't create a functional executable program for my soft on labview

$
0
0

Hello.

after creating a full labview command and control soft for a projet i'm working on, i wanted to make it as executable file to deliver it with the machine to the client. but the exe always shows errors 7. talking about unfound files, but everything is working well through labview. and i'm using dynamic links between VIs. you can see in the links below the methods i use to communicate with ini file and call a VI.

 

https://drive.google.com/open?id=1Hg79tFxMLSXF-pUskSkletWQhfez2cpB

 

https://drive.google.com/open?id=1vKN2kSxNGKhIBVfMHmdxDgK2cRtNJbYK

 

 can you help me to resolve to problem with the executable file?

i can provide parts of the code if it can help someone to resolve my problem.

thank you


control BLDC motor with ESC , arduino

$
0
0
 

Hi , everyone......

I want to control 2 BLDC motor using ESC, arduino with labview. When I control 1 BLDC, it will run. But when controlling 2 BLDC motors, it does not run. I saw examples of servo motors. Please point out the error. Please help me😭

 
 
 

image.png

 
 
 
 

 

 
 
 

 

 
 
 

 

 
 

 

 

 

 

 
 

 

 

 

 

LabVIEW 2020 (PDS) release date

$
0
0

Hi,

 

Anybody know the upcoming release date for LabVIEW 2020?

 

I see the free community edition is released.  But what about the PDS?

PCIe-6323 analog inputs RSE problem

$
0
0

Hello,

 

I have a PCIe-6323 card and connected a signal to AI 8. When I go to the testpanels of the device and try to read an RSE signal on AI 8, nothing is measured. When I read it on AI 0 in the testpanels, I see my signal? I know AI 8 is shared with AI 0-, but I'm using RSE. What happens here?

 

Thank you

data and time labview BIOS

$
0
0

hello everyone, I would like to know how do I get the labview, the date and time linked to my computer's Bios

Communicating with specific pins of a serial port?

$
0
0

Is there a certain way within LabVIEW to communicate with certain pins of a serial port?

I have this chart that tells me what I need to do, I just don't know how to automate it with LabVIEW or how to use my BNC probes with this port. Here is the diagram.

 

e1077a75eb8a3bdd1cc17d3e7086d2ae.png

I really appreciate any help with this.

Viewing all 69027 articles
Browse latest View live


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