- or download this
my $itemdata = OPCItemRead ($rightdata[0], $i+1);
$rightdata[0]->{lastvalues}->[$i] = $itemdata->{Value};
OPCItemWrite($rightdata[0], $i+1, $rightdata[0]->{lastvalues}->[$i
+] + 1);
- or download this
sub OPCItemRead {
...
$items->Item($itemno)->Write($newvalue);
}
- or download this
OPC::Item::Write Matrikon.OPC.DDE:
Win32::OLE(0.1707) error 0x80070057: "The parameter is incorrect"
in METHOD/PROPERTYGET "Write"
at C:/Program Files/Perl/lib/Win32/OLE/OPC.pm line 1666
- or download this
x $items->Item($itemno)->Read($OPCDevice)
- or download this
OPC::Item::Write Matrikon.OPC.DDE:
Win32::OLE(0.1707) error 0x80070057: "The parameter is incorrect"
...
Win32::OLE::OPC::Item::Write('Win32::OLE::OPC::Item=HASH(0x22c
+2360)', 11) called at opccompare.pl line 542
main::OPCItemWrite('HASH(0x2291d14)', 5, 11) called at opccomp
+are.pl line 151
main::(opccompare.pl:154): if (not($debug
+ =~ m/quiet/)) {
- or download this
<b>Write(VALUE)</b>
Write VALUE to this item.