pato7
Members-
Posts
21 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by pato7
-
@Norm Kirchner Thank you so much I'll try to integrate that in my code. Thank you guys for all the help over here. highly appreciated.
-
Thanks for your reply. I am designing prototype data structures for some process and I was wondering if using two servers to describe the system is a possible solution to include between the suggested prototypes. Might not be the best solution but I was making sure if its possible through labview because OPC UA by definition allows communication between server-server or server-client in general. Thank you.
-
Thank you for your reply. I meant for example if I have a server with 5 sensors related to it and another server with 10 sensors related to it. Is it possible to connect these two servers or let them communicate and share data in a labview VI on the same PC? how? is there a special VI for that? can I use the "connect" Vi found at the OPC UA client palette list? Thank you.
-
Hello, I have a question regarding creating reference/Variable nodes in the OPC UA Data structure. For example, we have two items in a big data structure tree having the same property, Is it possible to create this reference property while building the data structure? And can it be represented in the data tree at both items? Should I use local Variables for this task? and how? In short, Iam asking if its possible to have same property represented two times in the Data tree and when we change it's value in one place, it automatically changes in the other place. Any advice would be highly appreciated. Thank you. Best Regards.
-
Hello, I want to ask if its possible through labview to connect two OPC UA servers. if yes, is it possible to do it on the same PC or the two servers should be on separate windows? Thank you. Best Regards.
-
OPC UA Labview Reading items and properties from excel sheet or text file?
pato7 replied to pato7's topic in LabVIEW General
Thank you for the tip. It was very useful. I have managed to eliminate the errors I got before and I am working on the other issues now. Thank you for your help again:)) Best Regards -
OPC UA Labview Reading items and properties from excel sheet or text file?
pato7 replied to pato7's topic in LabVIEW General
Thank you for your advice. Due to the limited time that I was given to finish this project, I am trying to read more tutorials and watch youtube videos to improve my skills faster. I have managed to write the code reading from text file. And I have classified all information that I have read from the file. But I have two problems now: 1) In some cases, a Folder can have several items in it and an item can have several properties in it. So I thought of giving each node an ID and link it to its parent ID. My data is arranged in the following order in the text file : ID,NodeType,ParentID,Name,DataType,Access Level,Description Is there any blocks special for linking nodes to their parents? Or do you have any other solution for linking several items to the same folder? 2) I have added the OPC UA blocks (Add folder, Add Item, Add Property) in the for loop where I am reading from the text file and I have placed a condition depending on the type of the node But I am not able to relate all three together which can be fixed if I knew how to solve question 1. The problem is in creating the correct node path Moreover, After exiting the for loop, I am getting an error while wiring the OPC UA blocks to the Start Server Block due to connecting two terminals of different types but I don't know if I can change the data type exiting the for loop without affecting the data structure created inside the loop. You can find my files attached below. Any hint or tip would be highly appreciated. Thank you. ReadCSV.vi Read.txt -
OPC UA Labview Reading items and properties from excel sheet or text file?
pato7 replied to pato7's topic in LabVIEW General
@rolfk Thank you for your advice. Your advice and tips are more than enough for me and its highly appreciated. I never asked to do the programming work for me. I'll work by the tips I got here. THank you:) -
OPC UA Labview Reading items and properties from excel sheet or text file?
pato7 replied to pato7's topic in LabVIEW General
@rolfk Thank you for your help. I already have the DSC module installed with my labview. Can't it be helpful for my task related to inputing my folders/items/properties from a CSV file? Thanks -
OPC UA Labview Reading items and properties from excel sheet or text file?
pato7 replied to pato7's topic in LabVIEW General
@JKSH Thank you for your reply. I have attached here 2014 Version files. Basically I have just created the server code and a read from file code but its still not integrated in the server code. I will try to work with CSV files and use the For loop method, Thanks for the advice. I am trying to find a way how to relate each item read to its corresponding folder and also if there's more than one item related to the same folder. Thank you. Data2.xls fileread.vi non-Secureconnections.vi -
OPC UA Labview Reading items and properties from excel sheet or text file?
pato7 replied to pato7's topic in LabVIEW General
@rolfk Please note that I am deleting my cross post on the other sites and sticking to my posts on this website. THank you. Any help would be highly appreciated and Sorry again for the misunderstanding... Best Regards. -
OPC UA Labview Reading items and properties from excel sheet or text file?
pato7 replied to pato7's topic in LabVIEW General
Thank you for your comment. I am just not getting any positive help on the other sites, thats why I am posting here... And now that you mentioned thats its a crosspost, I hope its cleared now... -
Hello, thanks for your reply. But I was thinking of a way where I don't use the OPC UA for calculation of the phase shift... like if I can save the waveforms in somewhere and then compare them in a separate VI which doesnt use the OPC UA server directly. So may I ask if in another case for example where OPC UA is not used to generate the signals, but we have two random sine waveforms generated each from a separate VI. How do we compare them in this case? In my case, I have the same signal source placed at the OPC UA server and I want to measure the difference between the waveform generated at the server and that read at the client. So I am treating them as two separate waveforms. But my problem is that the waveform at the client doesnt have the same start time as the one a the server. Did I make my idea clearer now? The thing is that it's required from me to use OPC UA protocol.
-
My priority now is to find out how to compare the waveforms. Finding out the limits is one of the side goals for now. Because I would still want to use the waveform comparison to study the behavior of the server/client as I speed up or slow down the server. I presume the easier way might be useful for me for later tasks, but for now I need to figure out the waveform comparison issue...
-
Hello Guys, I am a masters student at a German university now working on a research project and we are using OPC UA labview toolkit. I am new with using OPC UA in Labview so I am not sure to what extent are the capabilities OPC UA labview are similar to that defined by the OPC foundation. I hope I can get some tips and help on some issues. Normally through labview we can create an OPC UA server and add folders/ Items/Properties to create the data structure. But this is done manually by adding the vi for each folder and item and connecting them. This is reasonable if we have two or three items or properties in the data structure. But if we have for example 40 items, then it would get messy. So i am thinking of a way to read the data from an excel sheet or text doc and automatically create the data structure in the OPC UA server. Offcourse, the data in the excel sheet should be arranged in a special way so that we can create the node paths easily and define the characteristics( read/write, datatype) of each node automatically. so far i was able to create the OPC UA server but I am stuck on how to transform the data from the excel file to the OPC UA server. please find attached the VI i have so far. Any help would be highly appreciated. THank you. BEst Regards, Elias non-Secureconnections.vi fileread.vi Data2.xls
-
Hey, sorry but I wrote my question again here because someone told me there its a split topic...But I replied there again:) I hope I get help either ways:)) thank you:)
-
Thank you guys for your replies. @hooovahh Sorry but I believed the title of this post is "phase difference betwwen two signals" and my major question was how to measure the difference between two signals. You can find attached the same files saved as labview V14. The idea is that its required from me to work with OPC UA labview. So regardless how fast it is , I am supposed to test its limitations and compare the results when the OPC UA server was faster or slower and try to find methods for using it in "fast as possible" mode.So for now, I need to compare the waveforms and check how much is the % error between the waveform generated at the server and the one read at the client. But since there is time difference between the two waveforms. I need to compare them in a separet VI. And should calculate the offset in order to make for that time difference and be able to compare the two signals. Comparison according to (Sampling rate, frequency, phase difference, noise) If you are not able to run the OPC UA VIs incase you don't have the OPC UA toolkit. My question would be the same as how to compare these two normal waveforms that are generated each in a separate VI. Thank you. Serverwaveform.vi clientWaveform.vi
-
Hello Guys, I am kindof new here, and I am trying to find some help with my project. I am a masters student at a German University and working with OPC UA labview toolkit and with signal analysis and data sampling specifically. I created a sine signal at my OPC UA server and I am reading that signal at my OPC UA client. I plotted the signal at both , the server and at the client. My task now is to compare the two signals and make sure that the data is transfered as fast as possible so when I am sampling I wont miss any data. I am attaching my files here, where you can see what did I write so far. I need help comparing the two waveforms. The waveform at the client might start at different timing, so maybe we need to offset it to the same time as the other waveform in order to compare? And I am thinking that the comparision should be in a separate VI. I want to compare the signals according to sampling frequency and phase difference as a start, then later i'll try to compare according to period, wavelength, noise...But for now if most important for me the sampling frequency and phase difference. So I am considering the signal generated at the server is IDEAL and I'll compare the signal at the client to it. And I need to measure the %error between them. Please excuse my level of programming. Any help would be highly appreciated. Thank you. ELias PS: I have attached also files with previous labview versions if anyone couldnt open the v15 files. Serverwaveformv13.vi clientWaveformV13.vi Serverwaveform.vi clientWaveform.vi
-
Hello Guys, I am kindof new here, and I am trying to find some help with my project. I am a masters student at a German University and working with OPC UA labview toolkit and with signal analysis and data sampling specifically. I created a sine signal at my OPC UA server and I am reading that signal at my OPC UA client. I plotted the signal at both , the server and at the client. My task now is to compare the two signals and make sure that the data is transfered as fast as possible so when I am sampling I wont miss any data. I am attaching my files here, where you can see what did I write so far. I need help comparing the two waveforms. The waveform at the client might start at different timing, so maybe we need to offset it to the same time as the other waveform in order to compare? And I am thinking that the comparision should be in a separate VI. I want to compare the signals according to sampling frequency and phase difference as a start, then later i'll try to compare according to period, wavelength, noise...But for now if most important for me the sampling frequency and phase difference. So I am considering the signal generated at the server is IDEAL and I'll compare the signal at the client to it. And I need to measure the %error between them. Please excuse my level of programming. Any help would be highly appreciated. Thank you. ELias Serverwaveform.vi clientWaveform.vi
-
Thank you Neil, highly appreciated:) I'll try to reproduce the idea you gave me in my code.
-
Hello Neil, I am working on a project at my university that is based on OPC UA labview data toolkit. I see you have good experience with OPC UA labview. As a test start, I was able to create a data structure of three folders with items and properties corresponding. But creating folders and items manually for each new folder and item we want to enter takes time and space in my code so I decided to extract the information from an excel sheet. In other words, if I have a list of 100 folders/items/properties arranged in an excelsheet or any type or data file, how can I define them using my OPC UA server on labview? So far i was able to exctract data as cluster of array of strings. I know there is an OPC UA vi that tranform node name array to node path but I am not able to reach a compatible data type input for it. I am stuck there. And I want to know if that VI can be used in a loop to enter the data and save the node paths generated. Any help would be highly appreciated, Thanks Thank you. fileread.vi Data2.xls