Communication between CVI and PLC Siemens S7
Hello everyone, I would like to know if there are drivers for communicating a program written in CVI and a Siemens S7-1200 PLC with Profinet protocol.Tnx a lotKind regards
View ArticleData entry in Tables
Entering data in a table cell and using the cursor keys to move from cell to cell does not generate an EVENT_COMMIT so the data is lost. How to get the data using the cursor keys only like in Excel?
View ArticleAccurate frequency setting using hp33120a driver in labwindows/cvi
Hello,I am using the hp33120a driver for my 33220A function generator with USB connection.When setting the frequency to 9000Hz [ hp33120a_ConfigureStandardWaveform (hp33120a, "1",...
View ArticleLabWindows/CVI with SGL Library
Is there a way to include an SGL library in a CVI project in order to port software generated with SGL calls?
View ArticleLIN bus from CVI
Hello all,i'd like to get started on using Local Interconnect Network (LIN) from CVI. In particular with a NI USB-8476S card. I could not find any sample code offhand, and in MAX it does not appear I...
View ArticleHow to copy/paste a string in the debugger
Hello all,I feel like this is a dumb question and I'm missing something, but here goes...When I'm on a string variable in the debugger (for instance in the Variables window or the Watch window), how do...
View ArticleShortcut to navigate source code browser?
Hello all,when you have several results in a (Ctrl-F) search and you are in the editor, you can go to the next one with F3. When you have several error/warnings after a compilation and you are in the...
View ArticlePython Selenium Library Problem in CVI
Hello,I wrote python script to automate company web page using selenium library. I tested it and ran the script in command prompt and it works. I wrote a batch file that calls python script, and it...
View ArticlePrint code broken for Landscape print CVI2019
Hello All, I occasionally print code for aid in debugging as my eyes have gotten older. I typically prefer landscape to minimize line wrap issues. Recently I tried this in CVI 2019 and the result was...
View ArticleUnderstanding DAQmxErrChk(functionCall)
I have seen this line in a couple of examples #define DAQmxErrChk(functionCall) if( DAQmxFailed(error=(functionCall)) ) goto Error; elseI would like to understand the purpose of this statement in the...
View ArticleHow to use a tree control to visualise the steps of a programme
I want to make a tree with 2 colomns in the. uir. and i have a sequence of a programme in the main. c. In the first colomns of the tree i want to display in witch step of the program i am. In the...
View Articleread specific column of excel file and plot graph
I am reading more than 250 parameters and storing that in binary file. parameters which I am selecting only that parameters are converted into readable form from the bin file and stored in excel...
View ArticleCVI2019 awfully slow on single step debugging
Since I moved from CVI9.0.1 to CVI2019, I had to recognize that debugging into my code in single steps became a mess. Sometimes jumping from one line of code to the next one takes up to 1s, especially...
View Articlehow to open exe in a tab control?
I want to call exe in a tab control or inside a panel that is present in tab control. Is it possible?Here i am attaching sample code .
View ArticleCompiling run timr error
Hello, I'm having some troubles with the multithreading concept, and i'm just starting to use that.when I compiled I had this error:FATAL RUN-TIME ERROR: Unknown source position, thread id 4524: A...
View ArticleHow do you manage project backup?
Hello everyone! We are going to change NAS in our company and i'm checking for a new way to store our project. In Siemens PLC there is the possibility to "archieve" and "retrieve" project, this is very...
View ArticleErasing an Edit String Box in LabWindows
When you've exhausted all the possible reasons why it isn't working, the only thing left is the impossible. Hi, First, I am not looking for a LabView answer. I don't use LabView and don't understand...
View ArticleActiveX Control WMP Thread, execute the Thread inside button click event...
Hi All, is it possible that my Thread starts immediatelly inside a "button click event" function? I have usedi = CA_InitActiveXThreadStyleForCurrentThread(0, COINIT_APARTMENTTHREADED);at the top of...
View ArticleWrite to PLC Micrologix using OPC Data Sockets
Hello I am developing an aplication and I need to read and write tags to a Micrologix 1400 via ethernet, I am trying to comunicate using OPC data sockets, I have already read the example installed for...
View Article