• Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About boliva

  • Rank

Recent Profile Visitors

1,263 profile views
  1. I'm using my ctl file with a new PC running Windows 10 IoT Enterprise. I am having trouble getting DAQFactory to recognize my COM ports. The new PC is able to successfully initialize the COM ports and read from multiple slaves using Modscan as a test, but when I try in DAQFactory, I get the error message: "Unable to initialize Com1: Can't set port settings".
  2. I started a new project, completely blank, using a new Modbus capture device. My channel's I/O Type is Read Holding Float R Words. If I select the channel to be 1, I don't get accurate data in the "Watch" window. If I have my channel set to 0, I get what I would expect. If I now change my channel to 40001, the data streams as what I would expect and if I change my channel back to 1, it remains accurate. Is this by design?
  3. I am sampling many channels every second, some of which are temperature readings and others pressures and such. I want to take a group of the temperature readings (not all of them), and create another channel or variable that would be the average of that group, another that would be the max, and a third that would be the min of the group. Is that possible without an elaborate script?
  4. The printPDF feature is excellent in quality. Having the ability to use bold and italic font as well as using other font types would help make printed information with better appearance.
  5. boliva

    Report Creation

    Is there a way to change a variable value text on screen to a graphic for printPDF? Basically, I want some characters bold, but I can't seem to get printPDF to print bold characters. I tried changing the font used, but it always appears with the same font and nothing is bold...UNLESS there's a specific font that I SHOULD be using that will display bold characters in the final pdf created using the command or there is a switch that I should be using in the command to accomplish this?
  6. boliva

    Email multiple files

    Actually, The brilliant folks at Azeotech have updated the software to now include multiple attachments in a single email, so my problem has been solved. This was part of the release for version 16.1. I did not want any type of zipped file since that's one more step on the backend to download and uncompress, etc. This has allowed me to keep everything with the single platform rather than trying to incorporate multiple pieces of software to accomplish what I need.
  7. I am building a system that will email out csv reports that contain parameters for a period of 12 hours. The system will connect to multiple units and capture the data, then send out a csv report every 12 hours with the compiled files. I would like to handle everything from within DAQFactory, but need the email capable of attaching all files to a single email. I would like to request that DAQFactory add the capability to include multiple attachments into this single email. As always, Thanks!
  8. boliva

    Email multiple files

    Hi Guru, Any chance DAQFactory can now attach multiple files? If not, is this in the plans to add as a feature? I have to send an email via DAQFactory and would like to have up to 4 csv files attached and only have a single email, and not have to unzip the files once received as my outlook rules/script automatically downloads them as they arrive. Thanks in advance
  9. boliva

    Log Time Stamp

    Just to make sure I'm heading down the correct path... 1. Create an array with the channel names to be sampled 2. Create a variable for each channel. This will store the average value over the period determined. This will be an array at the end of a 12-hour period 3. Every 10 minutes (period determined), take the average of each channel and append this average to the back of the variable just created in 2 as an array of strings, with a "," after each value. The ", " will serve as the delimiter for the csv file when done, between values. When doing this, only write to the channels whose names are actually in the array to be sampled. 4. At the end of each 12-hour or 24-hour period, write the variables to a .csv file then change the file name to begin a new one for the next period Sounds right?
  10. boliva

    Embedded Daqfactory

    Guru, When putting on an embedded PC, I want to use fbwfmgr to write protect the hard drive so if power is lost without Windows properly shutting down, it will not corrupt the hard drive. In doing so, I will add exclusions for my log directory. What other exclusions would be needed for DAQFactory to operate properly?
  11. boliva

    Email & Queueing

    I just realized that when I was troubleshooting, I changed the second line in your function SendEmail(string message) sequence from: private emailOut = new(CEmailOut) to global emailOut = new(CEmailOut) AND emailQueue.addValue(emailOut) to emailQueue.addValue(1) With both of the above statements modified, it seems to work as expected. With the last statement modified, and emailOut left as a private variable, emailOut.initialTime never gets passed, so no matter how long of a delay is set, it always backs out thinking the time has elapsed. Can objects be passed using addValue? or is there something else to it that I'm missing. Thanks
  12. boliva

    Email & Queueing

    Thanks! I've been able to get this to work to an extent. I did what you said above and methodically stepped through the process of the functionality. I added some ? statements to see where it's getting in the process. Where I stand now, is if I have an internet connection, everything works as expected. If I don't, I go through the top two sequences, but the statement emailQueue.addValue(emailOut) does not truly put anything in the emailQueue global. Since it's a global, I added it to the watch window and never see it get populated. I changed that one statement by removing (emailOut) and replacing it with (1) and it all worked great. Did you mean to put emailOut in that statement in your original code above, or was that simply an oversight? If it's supposed to be there, I'll need to figure out why it still won't work.
  13. boliva

    Log Time Stamp

    The ultimate goal is to take an average of each parameter being logged every 10 minutes and at the end of a 12 or 24hr period, email a single csv file containing all of the samples that were averaged. At the end of the 12hr or 24hr period, it will rename the file and basically begin again. Would this be best accomplished with an export set? I want the long term logging, just want the time stamps to be at an even 10-minute period so all systems log the same from one machine to the next, regardless of when DAQFactory was started on the PC.
  14. boliva

    Email & Queueing

    I'm getting around to trying this setup and keep getting an error. I'm not a programmer, so it's taking me a bit to understand the above. First, do both of the functions above go in a single sequence, or should they be separated into two? I'm getting an error when calling sendEmail("TEST") for the line if(!sendEmailOb(emailOut)) stating that the channel or function is not defined. I've checked the syntax and cannot find any errors....any thoughts? Third, in the function you described, you have a line, private em = new(CEmail)...should this read private em = new(CEmailOut)? Lastly, is the em.body the correct way to set the body of the message or would it be similar to the actual email command where it's set as em.strBody? Thanks
  15. boliva

    Log Time Stamp

    I've created multiple channels that get sampled once per second. I have a log file that I would like to average 600 seconds and log that average. I have a sequence that waits until an even 10-minute period (6:00, 6:10, 6:20, etc) to start the log so that everything stays on the same period, but the log samples seem to correlate to the actual time that DAQFactory started. I've tried setting the timing of all of my channels to 0 then back to 1 in an attempt to reset this time, and also set the history of all channels to 0 then back to 1, but neither seem to force the logged time to begin at an even 10-minute interval, it always stays at 6:08 or whenever I start DAQFactory. Is there a way to accomplish this?