Jump to content

pureindo

Members
  • Posts

    4
  • Joined

  • Last visited

    Never

pureindo's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I have three separate VI's running within the same environment. One VI will act like a server to retrieve information from a datalogger while the other two act like a client. The two clients will be telling the server when to retrieve data and to get back that information. I am trying to figure out how to use queues to do this. Let me try to give an example: Client 1 tells the Server to retrieve information from the datalogger (Channels 1-10) at the same time Client 2 tells the server to go retrieve information from the datalogger (Channels 11-20). The server takes about 10-20 seconds to retrieve data from channels 1-10, sends that back to Client 1 then looks at the queue and retrieves information from channels 11-20 for Client 2. I know notifiers have an icon "Wait on Notification from Multiple" which allows it to receive info from two separate "obtain notifiers" each with their own unique name (Client1/Client2). I can't find anything for Queues that allow me to receive info from two uniquely named "Obtain Queues" (Client1/Client2), so that the server can receive info for Client 1(Channels 1-10) and send that info back only to Client 1, then look in the queue and receive info for Client 2(Channels 11-20) and send that info back only to Client 2, so forth and so on. Any suggestions? Sorry if I wasn't clear enough.
  2. Sorry, one more thing, if this can be done using queues, would you/anyone happen to have an example? I'm the type that has to look at a program to understand it. Thanks Matt
  3. didierj, I guess I'm not understanding what you're saying. Let me try to be clear what I'm doing first. I have three separate VI's running within the same environment. One VI will act like a server to retrieve information from a datalogger while the other two act like a client. The two clients will be telling the server when to retrieve data and to get back that information. So, I'm trying to figure out whether I can use notifiers to send data back and forth between the server and two clients. If so, then how do I wire the "obtain notifier" icon to the "wait on notification" icon to the "send notification" where the "wait on notification" and the "send notification" will be on separate VI's to pass information back and forth. If this can work, would you/anyone happen to have sample code that I can look at? If not, is there another way to pass information back and forth between separately running VI's within the same environment (same computer). Sorry if I wasn't clear. Thanks in advance Matt
  4. Sorry, I'm a novice when it comes to LabVIEW, so bare with me. I have one computer reading from a datalogger for two separate experiments. The datalogger receives information from each experiment on different channels. This data is then sent via GPIB-USB connection to the computer. I need two separate vi's running on that single computer so that the experiments can be accessed at different times. I am trying to figure out if it is possible to have a third VI running continuously to read from that USB port, while the other two vi's read/write to the third vi for the data with some sort of priority level setup. -If this is possible, how do I read/write to separately running vi's? -Also, how do I setup priority levels just in case the two vi's try to access the third vi at the same time? Sorry if I was not clear enough with my explanation.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.