steveandrews

Members
  • Posts

    38
  • Joined

  • Last visited

Recent Profile Visitors

1,870 profile views

steveandrews's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi, so firstly I'm using a developer licence. The channel I'm trying to share isn't from a device. It's just an integer that is calculated during a sequence Currently I just have a connection name. Is there a way to specify (with daqfactory networking) a local address or something for a particular instance? The help mentions connection to another instance in acquire mode. But I need user interaction in both instances. Otherwise, yes, writing and reading to a temporary file would work but a little more effort keeping things tidy etc. Cheers
  2. Hi, I have two instances of DF running on one computer (probably not reccomended) that i want to share channels. I just made a new connection in both instances with the same name and set brd on one of the channels. It seems like one instance is talking to the other. I don't know how this is decided upon- maybe whichever was loaded first? I'd like 2-way channel sharing. Is this possible and could you shed a litttle light on the 'proper' way to do this? I don't want to combine both programs really as version history becomes awkward Cheers Steve
  3. of course!!! Maybe my caffeine level was too low when i asked that. Thanks!
  4. thanks, I could implement the last suggestion, as a lot of the actions are locked out by default already and i always use quick sequences for actions so wouldn't take much to add a few lines to them, although not sure how i would add a flag to a system dialog box such as load file? The others i could use the: page.pagename.ispoppedup
  5. yeah, I can't really do that as the open file dialog is quite big, and there are many files in the list that can be double clicked, so will always overlap with something. is there no way to disable mouse input for half a second or so? Cheers
  6. Hi, I have a few instances where a user clicks on something in a pop-up and the popup closes but the click is registered on the item beneath the pop-up. A common one is a user entry for loading a file with system. if the user selects a file and clicks 'open' it's fine. But the tendency is to double click an item in the explorer window, which opens it, closes the system.entrydialog box but then registers a click on an item on the daqfactory screen underneath. I'm sure ive seen some kind of disable click function, but cant find it. Can you suggest a way to 'protect' items from being accidently clicked on? i dont want to disable individual components as thats too much work, rather suppress a mouse click cheers Steve
  7. Yeah you're right. It's always array subsetting that I get stuck on, I guess what's in my head often doesn't translate and I need to realise that a loop is still fast and the easiest way to do it. Thanks for the help
  8. Yeah, I was hoping there might be a more elegant way to 'convert' the value dynamically with some fancy syntax in the expression because the table switches between displaying multiple depths of the array. I can make a separate 3d string array for display I suppose, it can just be generated when the array changes as it changes with a function call
  9. not often, it's a data history received from polled slave devices and gets updated when a user manually requests it or closes a pop-up that has recorded a few actions
  10. Hi, I have a table displaying selected contents of a 3d array (table_array). It's all numerical and if possible id like not to modify this array, just display it. For one of the table columns, i would like the table to take the numerical value, say 0,1,2.. and display text from a look-up string array corresponding to those integers. Forother columns just display the numerical value as it is. I initially thought just expression: lookup_array[table_array[]] but this obviously only displays one value in the table, i need to display all the rows of table_array but substituting the numerical value of each row for that column, with a string from the lookup array. Any ideas? Cheers
  11. Hi, I have a table with many rows. When the table fills, I would like it to display with the bottom row visible (i.e the scroll bar at the bottom rather than at the top). Any way to do this in code? cheers Steve
  12. Ah nice, so the code just re-initialises the serial every 60 seconds if data is not received from the input channel for more than 10 seconds. I'd not thought of using the .time of a channel like that but that's really useful. Cheers
  13. Hi, that's perfect! Thanks as always for your quick reply and help. You just made it all so much more simple. You are right, the manual just confused the hell out of me. Omron is Japanese and therefore there is no such thing as "filler" every detail is important and must be listed. This is my experience from living here at least. There will be a quickstart manual, likely with animal cartoons and not enough info, then a detailed manual with so much info it could be used to clone the product. My IT classes at high school are coming back to me now. Of course 2 bytes is 16 bit and 4 is 32 so the manual should just say "if you want to read the register as a 32 bit long, use the address in the 4 byte column. Each register is 16 bit so a 32 bit long integer uses two registers. Addresses are written in hex". It would also be nice if they made it clear which registers are read/write and if there are limits to the number of writes. I'm assuming not for now! The 32bit signed reverse word read holding worked for me. The other issue I had is my timeout was too short and depending on what reply i was requesting it would timeout sporadically. Changed it to 1000 ms and it's perfect. I'm just writing to the set point register and that works great too. If I pull the power and reset the controller it remembers the setpoint so is non volatile but not sure if there is a write limit. Maybe newer hardware like this uses better memory? On the subject of pulling the power. Is there a way to re-establish comms after a power cycle? Currently it will restart if i go into comms setup. I could catch the timeout error and loop a sequence to attempt re-connection until it replies? I had a look at your quick mod program but it doesn't reconnect after a power cycle Thanks again
  14. Hi, I am having some issues with Modbus and a temp controller. I think I am ok with daqfactory but very new to modbus. In the past I have used my own comms protocol over rs232 but now trying modbus over rs485. I have an omron K3SC-10 usb to rs485 converter and used this with a Yokogawa temperature controller absolutely fine. I used Modbus ASCII, found the registers in the manual and used the standard daqfactory commands to read holding S16 for each register. Surprisingly easy! I couldnt get hold of another yokogawa temp controller so bought an equivalent Omron E5CC model. Its running Modbus RTU and I have SD and RD traffic so everything is working comms wise. The manual wasn't so easy to understand so this took a while. My problem is that I just get modbus timeouts when I try to read any registers, sometimes I got some random (to me) data but then it stopped. I think this is because it doesn't recognise the commands I am sending? I found the quickmod program that you made (screenshot attached) and i can see some of the data I want: 248 is 24.8 degrees C! I don't really understand the tag number and number of points? Is tag the register? Is number of points trying to read an array or a range of registers?? I'm very confused but think I am close. I've attached the temp controller comms manual. I don't really understand about 2 or 4 byte modes and if the registers are in hex or what!? I think I have got as far as I can now using trial and error and very basic understanding but now maybe I need to actually understand what's going on! I'm ok with rs232 because you send it a command and it sends something back, simple conversation. I think modbus is the same, but I don't really understand the conversation between devices and the upper, GUI level isn't working for me. Maybe it's simple and you can explain what I am missing or if you have a suggestion for some easy learning material for me? I need to read the temperature controller PV and setpoint and write setpoints and PID values. Cheers Steve E5_C_CommunicationsManual_EN_201404_H175-E1-08 (1).pdf
  15. Hi, I'm trying to do the same thing with Japanese characters. I've used regedit to go to the location you specify: hklm/software/DAQFactory/Control in there i created a new REG_DWORD with the decimal value 1041 (for japanese) Then restarted daqfactory but when i add a phrase to the language (using microsoft IME) it just displays "??" I selected table font @Arial Unicode MS in preferences but no change. Any ideas? I need Japanese Kanji support for buttons such as 'save' 保存 cheers AzeoTech, on 18 Oct 2013 - 2:28 PM, said: