chandrakant Posted October 17, 2018 Share Posted October 17, 2018 how to create automatic folder in computer with daq factory? Link to comment Share on other sites More sharing options...
AzeoTech Posted October 17, 2018 Share Posted October 17, 2018 I am not quite clear what you wish to do... Link to comment Share on other sites More sharing options...
chandrakant Posted October 22, 2018 Author Share Posted October 22, 2018 we require below points- (1)we have to create folder in my pc by daq factory. (2)we already add the new recipe in daq factory but we have to also delete and edit option in scada for recipe. (3)in recipe same name recipe add but we have to restrict it. (4)we already add the choice in radio buton by script of addchoice.but we have to also delete option of choice in radio button. (5)same choice also add in radio button but we have to restict it. (6)in pritpdf option image not print we have to print it. pls help me for all above points. thanks Link to comment Share on other sites More sharing options...
AzeoTech Posted October 23, 2018 Share Posted October 23, 2018 1. You can use the file.makeDirectory() function to create a new folder. Note that in newer releases of DAQFactory, the c:\DAQFactory folder is marked as read only for non-admins. This is for security reasons 2+3) I'm not sure what you mean by recipe as DAQFactory doesn't have built in recipes per se. 4) you can't delete a single choice. You have to remove all choices, then add all the ones you want back in. 5) you can restrict the radio button by processing the input. I.e. don't have the radio button change the output directly, but rather have it change a variable or Test channel, then validate that value before sending it out. 6) correct. This is why printpdf() is not an official, documented feature. The logo must be in WMF format, or you can use the regular Windows print function and Acrobat Distiller print driver. Link to comment Share on other sites More sharing options...
chandrakant Posted October 26, 2018 Author Share Posted October 26, 2018 thanks for help up, (1)create directory function will work ok but i want to enter file name from channel. Link to comment Share on other sites More sharing options...
AzeoTech Posted November 1, 2018 Share Posted November 1, 2018 That is fine. You can assemble the name from a channel by simply concatenating values. For example: "c:\dataDir\myFile_" + myChannel[0] + ".csv" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.